Welcome! Log In Create A New Profile

Advanced

Re: $https with SSL proxy

Antonio P.P. Almeida
April 02, 2012 04:02AM
> Dear all,
>
> starting with version 1.1.11 the $https variable is activated by
> default. This is good as many applications rely on them because apache
> is using this header.
> However, now i cannot set or map this variable (nginx: [emerg] the
> duplicate "https" variable). We have a load balancer in front of the web
> servers which does all SSL traffic. The nginx servers can only differ
> between http and https via a header sent by the load balancer, the nginx
> port is the same. That hasn't been a problem in < 1.1.11. Many plugins,
> codings in applications use this $https header so it would be nice if i
> could assign it manually.

Have you tried explicitly setting the fastcgi_param, like in:

fastcgi_param HTTPS $my_https;

where $my_https is a variable that you set as you want it?

--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: 296
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