Browse Source

add CSP and gitea CSP (report only mode)

env-friendly
Charles Reid 5 years ago
parent
commit
e0758ee12e
  1. 1
      conf.d/csp.conf
  2. 1
      conf.d/giteacsp.conf

1
conf.d/csp.conf

@ -0,0 +1 @@ @@ -0,0 +1 @@
add_header Content-Security-Policy-Report-Only "default-src 'self' 'unsafe-inline' 'unsafe-eval';";

1
conf.d/giteacsp.conf

@ -0,0 +1 @@ @@ -0,0 +1 @@
add_header Content-Security-Policy-Report-Only "default-src 'self' 'unsafe-inline' 'unsafe-eval';";
Loading…
Cancel
Save