Welcome! Log In Create A New Profile

Advanced

Re: No Upstream Proxy Headers

Francis Daly
September 14, 2017 06:10PM
On Mon, Sep 04, 2017 at 08:46:48PM +0000, Kilian Ries wrote:

Hi there,

> i'm running a nginx (version: nginx/1.13.1) with two vhosts with exact the same configuration. The only difference is the upstream section: each vhosts points to a different upstream server / ip.
>

"nginx -T" will show the full configuration used.

That might help show other differences in the running configs.

> proxy_set_header X-Real-IP $proxy_protocol_addr;
> proxy_set_header X-Forwarded-For $proxy_protocol_addr;

> vhost_1 works without any problem and i can see both proxy_headers in the tcpdump and in my upstream-apache access-logs.

"Normal" web clients don't speak the proxy protocol.

Can you describe a complete test case that someone else can use to see
the problem you see?

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

No Upstream Proxy Headers

Kilian Ries September 04, 2017 04:48PM

Re: No Upstream Proxy Headers

Francis Daly September 14, 2017 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
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