Skip to content

Set X-Forwarded-For header to the remote address

ale requested to merge nginx-x-forwarded-for into master

Using $proxy_add_x_forwarded_for appends the remote address to whatever is provided by the client. It's best if we just ignore the client-provided header instead.

Merge request reports