Welcome! Log In Create A New Profile

Advanced

RE: intercept and modify upgrade-insecure-request header?

Reinis Rozitis
February 14, 2019 12:02PM
> 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;

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

intercept and modify upgrade-insecure-request header?

mevans336 February 14, 2019 09:42AM

RE: intercept and modify upgrade-insecure-request header?

Reinis Rozitis February 14, 2019 12:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready