>> The problem is that all applications rely on this "https" header,
>> changing the code of all applications makes no sense to me.
>
> AFAIK it's not a header but rather a parameter that is passed through CGI
> and in PHP, for example, you recover via $_SERVER['HTTPS']. This has
> nothing to do with headers. Of course you can set a header based on it.
>
> X-Forwarded-Proto $https;
>
> or
>
> X-Forwarded-Proto $my_https;
Oops. My bad. I meant:
X-Forwarded-Proto $scheme;
--appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx