node-http-proxy
node-http-proxy copied to clipboard
Upgrade-Insecure-Requests: 1
Hi,
I've created project https://github.com/darekf77/vpn-split which is using node-http-proxy to proxy some hosts from my vpn provider to my other computers in local network...
basically I am using for each request redirection this proxy object like this :
proxy.web(req, res, {
target: // target for request.
secure: false
});
..And it was working fine quite some time... but now.. I can't get into website that are implementing this header (and security mechanism) upgrade-insecure-requests: 1 (and whatever with this security thing is)
I've tried to remove this header or security thing related to upgrade-insecure-requests but no success...
Anyone.. any idea how to proxy on localhost websites with this security mechanism ?
Thanks.
also this is related to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy