Welcome! Log In Create A New Profile

Advanced

https redirect going to infinite loop

July 11, 2013 07:27AM
Hi,

I am new to nginx. I am trying to redirect all request to https. This is the redirect i am using

rewrite ^/(.*) https://example.com permanent;

somehow when I hit http://example.com on browser it goes to infinite loop.

Note: ssl is enabled on the load balancer

Please help!

Regards,
Parul Sood
SubjectAuthorPosted

https redirect going to infinite loop

parulsood85July 11, 2013 07:27AM

Re: https redirect going to infinite loop

Francis DalyJuly 11, 2013 06:16PM

Re: https redirect going to infinite loop

parulsood85July 12, 2013 02:50AM

Re: https redirect going to infinite loop

parulsood85July 12, 2013 02:50AM

Re: https redirect going to infinite loop

Francis DalyJuly 12, 2013 04:12AM

Re: https redirect going to infinite loop

parulsood85July 12, 2013 05:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready