0

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

gelonida
  • 259
  • 3
  • 16

1 Answers1

0

You can hide a request header with proxy_set_header directive.

proxy_set_header Accept-Encoding "";
AlexD
  • 8,747
  • 2
  • 29
  • 38