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
Subject Author Posted

https redirect going to infinite loop

parulsood85 July 11, 2013 07:27AM

Re: https redirect going to infinite loop

Francis Daly July 11, 2013 06:16PM

Re: https redirect going to infinite loop

parulsood85 July 12, 2013 02:50AM

Re: https redirect going to infinite loop

parulsood85 July 12, 2013 02:50AM

Re: https redirect going to infinite loop

Francis Daly July 12, 2013 04:12AM

Re: https redirect going to infinite loop

parulsood85 July 12, 2013 05:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 33
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready