$https variable?

Andrey N. Oktyabrski ano at bestmx.ru
Sat Sep 24 07:24:48 UTC 2011


On 24.09.11 11:12, Luke Scott wrote:
> It would be great if there was an $https variable that was "on" or
> "off" (or "") so you could do something like this:
> fastcgi_param  HTTPS $https;
map $scheme $https {
   https    on;
   default  off;
}



More information about the nginx mailing list