Re: Getting 302 Response

2019-06-18 Thread Francis Daly
On Mon, Jun 17, 2019 at 11:24:17PM +, Vivek Solanki wrote: Hi there, > location /media { > rewrite ?/media(.*) /$1 break; > proxy_pass $upstream_endpoint/media; > } > Requests will come like > https://abc.example.com/media/movie/bollywood/action/wallpapar > > Please help me out in

Getting 302 Response

2019-06-17 Thread Vivek Solanki
Hi Team, I have a nginx configuration file in /etc/nginx/default.d directory. I am using dynamic upstream, but I am getting 302 response on my nginx server. Below is the upstream and rewrite rule details: = resolver 172.29.92.2 valid=60s