Double Redirect

Lebod nginx-forum at
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 to

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

Thanks again

Posted at Nginx Forum:,267700,267881#msg-267881

More information about the nginx mailing list