Skip to content
Snippets Groups Projects
Commit 62c38418 authored by nimrod's avatar nimrod
Browse files

Don't allow forwarding of HPKP headers.

It could lead to a case where the site is effectively offline.
parent a7bc4e73
Branches
No related tags found
No related merge requests found
Pipeline #199 passed
...@@ -4,3 +4,5 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ...@@ -4,3 +4,5 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_hide_header Strict-Transport-Security; proxy_hide_header Strict-Transport-Security;
proxy_hide_header Public-Key-Pins;
proxy_hide_header Public-Key-Pins-Report-Only;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment