listen proxy_protocol and rewrite redirect scheme

adrhc nginx-forum at
Wed Sep 21 07:25:04 UTC 2016

Indeed the solution might look strange but it works (test it with e.g. https
or http ://
Would be nicer if would exists a variable like let's say $override_ssl which
to force nginx consider it run a ssl request with all the consequences.
Again I thank you for your support.

Posted at Nginx Forum:,269623,269714#msg-269714

More information about the nginx mailing list