diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-07-22 18:41:28 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-07-22 18:41:59 -0400 |
| commit | 27b24277e1dbd456ba68265ed9cc8b7d8c590440 (patch) | |
| tree | 4108ecee114be75af4f966e230530d129e1719d1 /nginx/snippets/security-headers.conf | |
| parent | de3d81370aa9ee7d0cee99500e10919cb3c346d4 (diff) | |
drop usage of report-uri for Expect-CT and CSP
This has proven to be unhelpful and we don't need this kind of reporting
with the simplicity of the site and policies.
Diffstat (limited to 'nginx/snippets/security-headers.conf')
| -rw-r--r-- | nginx/snippets/security-headers.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/snippets/security-headers.conf b/nginx/snippets/security-headers.conf index 1f97e116..d14d193e 100644 --- a/nginx/snippets/security-headers.conf +++ b/nginx/snippets/security-headers.conf @@ -3,7 +3,7 @@ add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; prelo add_header X-Content-Type-Options "nosniff" always; add_header X-Frame-Options "DENY" always; add_header Referrer-Policy "no-referrer" always; -add_header Expect-CT "enforce, max-age=63072000, report-uri=\"https://danielmicay.report-uri.com/r/d/ct/enforce\"" always; +add_header Expect-CT "enforce, max-age=63072000" always; add_header Public-Key-Pins "max-age=2592000; pin-sha256=\"YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg=\"; pin-sha256=\"sRHdihwgkaib1P1gxX8HFszlD+7/gTfNvuAybgLPNis=\"; pin-sha256=\"C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHFr8M=\"; pin-sha256=\"LriBmSVtlQ5mMrHPaHY4Iws7CfRh02xsmzYSjz4h+n8=\"; pin-sha256=\"eW2nhOl4bUuSdQaqFTbvU3T1O50t4rs/YZr6tx57ebY=\"; pin-sha256=\"xd08KlMFjbCIiI+m2IsynNvlRbtN3ksXBvTCMsgJB1o=\"; pin-sha256=\"d98LhdpbmaCJqL+2TpjktRam60XXNxOwIaSAxurYk20=\"; pin-sha256=\"ERrDlxBt73tVuKWPnDZ5AH1zgGYhq9wVVddEowHBCeQ=\"; includeSubDomains" always; -add_header Content-Security-Policy "default-src 'none'; connect-src 'self' https://releases.grapheneos.org/; font-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'self'; style-src 'self'; form-action 'none'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'; report-uri https://danielmicay.report-uri.com/r/d/csp/enforce" always; +add_header Content-Security-Policy "default-src 'none'; connect-src 'self' https://releases.grapheneos.org/; font-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'self'; style-src 'self'; form-action 'none'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'" always; add_header Feature-Policy "accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; battery 'none'; camera 'none'; display-capture 'none'; document-domain 'none'; encrypted-media 'none'; fullscreen 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; picture-in-picture 'none'; speaker 'none'; sync-xhr 'none'; usb 'none'; wake-lock 'none'; xr-spatial-tracking 'none'" always; |
