Double Redirect

Lebod nginx-forum at forum.nginx.org
Sun Jun 26 16:48:03 UTC 2016


I've found the problem. Thank you everybody for the tip about nginx -T

The web app that I use "forge" to deploy servers seemed to add another
redirect hidden inside of /etc/nginx/forge-conf/before/ssl_redirect.conf
which was redirecting port 80 example.com to https://example.com

My server block was correct, it was just this file that was adding an
additional redirect.

Thanks again

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267700,267881#msg-267881



More information about the nginx mailing list