Using ngx_http_access_module behind a load balancer

Hi guys,

I’m using nginx behind a load balancer, and I receive the user IP in
X-Client-IP. I would like to setup some rules with
ngx_http_access_module, and I would like to know if it’s possible to
make nginx use X-Client-IP for the http access test (right now nginx
believes the real IP of the client is the IP of the load balancer).


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs