Welcome! Log In Create A New Profile

Advanced

Re: $https with SSL proxy

Antonio P.P. Almeida
April 02, 2012 04:12AM
> 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;

---appa

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

$https with SSL proxy

mscheel April 02, 2012 03:50AM

Re: $https with SSL proxy

Antonio P.P. Almeida April 02, 2012 04:02AM

Re: $https with SSL proxy

mscheel April 02, 2012 04:05AM

Re: $https with SSL proxy

Antonio P.P. Almeida April 02, 2012 04:12AM

Re: $https with SSL proxy

Antonio P.P. Almeida April 02, 2012 04:36AM

Re: $https with SSL proxy

mscheel April 02, 2012 04:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready