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: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready