Re: Redirect loop problems

2014-10-15 Thread Dewangga Bachrul Alam
w > the difference between curl and the browser? The client sends the different > thing to the server which is confirmed. > > -B > >> Date: Tue, 14 Oct 2014 12:37:33 +0700 >> From: dewangg...@xtremenitro.org >> To: nginx@nginx.org >> Subject: Re: Redirect l

RE: Redirect loop problems

2014-10-14 Thread crazy world
nginx.org > Subject: Re: Redirect loop problems > > Update: > > I just want to redirect specific URL contains `/go/*` to HTTP, and force > others to HTTPS. > > On 10/14/2014 12:03 PM, Dewangga Bachrul Alam wrote: > > Hi, > > > > Today, I was imp

Re: Redirect loop problems

2014-10-13 Thread Dewangga Bachrul Alam
Update: I just want to redirect specific URL contains `/go/*` to HTTP, and force others to HTTPS. On 10/14/2014 12:03 PM, Dewangga Bachrul Alam wrote: > Hi, > > Today, I was implement redirect using return 301, here's my snippet: > > server { > listen 80; > server_name domain.tl

Redirect loop problems

2014-10-13 Thread Dewangga Bachrul Alam
Hi, Today, I was implement redirect using return 301, here's my snippet: server { listen 80; server_name domain.tld; error_log /dev/null; access_log off; return 301 https://www.domain.tld$request_uri; } server { listen 80; server