https and the Host header

ThomasLohner nginx-forum at nginx.us
Thu Aug 26 20:36:35 MSD 2010


try this:

		proxy_set_header X-Forwarded-Proto https;
		proxy_set_header X-Forwarded-Server ssl;
		proxy_set_header HTTPS 1;


and then let the app ask for one of these headers.

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




More information about the nginx mailing list