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

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,240755,240755#msg-240755

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to