intercept and modify upgrade-insecure-request header?

Reinis Rozitis r at
Thu Feb 14 17:00:56 UTC 2019

> We use Nginx as a reverse proxy to our application servers, can I intercept
> this header and just remove it? 

Sure, to the proxy_pass block add:
proxy_hide_header upgrade-insecure-request;


More information about the nginx mailing list