Report this

What is the reason for this report?

nginx proxy protocol how to setup this with elb in front of it.

Posted on February 2, 2017

need your help on nginx proxy protocol as i am not getting visitor client ip. instead getting elb’s ip In nginx logs ec2 server(nginx) ->aws elb proxy_protocol is enabled on elb. when setting same parameter in nginx.conf file it stop listening on 80 and 443 and website not accessible at all. kindly help.

i am not able to get visitor client ip on my website which runs on ec2 instance nginx web server.

when i configure proxy_protocol it dont listen on 80 and 443 and when i remove it it starts listening again and always gives private ip’s generated from aws elb.

kindly help.

Thanks, Rakesh

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.