I am using nginx and would like to block certain incoming headers, such, that
- uwsgi never receives these headers
- a server / service that I proxy to will not receive them
How can I achieve this
I am using nginx and would like to block certain incoming headers, such, that
How can I achieve this
You can hide a request header with proxy_set_header directive.
proxy_set_header Accept-Encoding "";