No Upstream Proxy Headers

Francis Daly francis at daoine.org
Thu Sep 14 22:09:51 UTC 2017


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 at daoine.org


More information about the nginx mailing list