Setting HTTPS on

Robert Leftwich robert at sherman.com.au
Sat Mar 3 10:47:13 MSK 2007


Aleksandar Lazic wrote:
> 
> proxy_set_header HTTPS on;

It ends up as 'HTTP_HTTPS':'on'

I'm assuming that nginx is adding the 'HTTP_' prefix, but that might be 
incorrect. A quick scan of the proxy module source didn't turn up anything obvious.

> 
> but this breaks the RFC specs.
> 
> Do you plan to simulate the env from mod_ssl in apache?!

The proxied code uses 'HTTPS on' to determine that it is being accessed via SSL, 
which originated in mod_ssl I believe.

Robert





More information about the nginx mailing list