Hi All,
we have configured a reverse proxy behind an haproxy load balancer and we
used PROXY PROTOCOL to forward the real IP to the backends. All worked fine
but if we enabled the ngx_http_limit_req_module and we based our
limit_req_zone rule to the $binary_remote_addr we noticed that all requests
received from the haproxy server have been blocked.

Do we have to use the $proxy_remote_addr variable to avoid this issue? We
tried to implement the variable but the block didn't work.

Thanks,
Marcello
-- 
nginx mailing list
nginx@freenginx.org
https://freenginx.org/mailman/listinfo/nginx

Reply via email to