Nginx clear X-Forwarded-For before setting
Just don't use $proxy_add_x_forwarded_for
- the whole purpose that it exists is to do the appending behavior.
Instead:
proxy_set_header X-Forwarded-For $remote_addr;
Just don't use $proxy_add_x_forwarded_for
- the whole purpose that it exists is to do the appending behavior.
Instead:
proxy_set_header X-Forwarded-For $remote_addr;