Skip to content

Commit

Permalink
Merge pull request #65 from UN-OCHA/develop
Browse files Browse the repository at this point in the history
CSP fix
  • Loading branch information
attiks authored Dec 13, 2023
2 parents 7adf7b2 + 6338c19 commit 69257ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/etc/nginx/custom/headers.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Add security headers.
add_header Content-Security-Policy "script-src https: *.newrelic.com bam.nr-data.net 'unsafe-inline'; img-src 'self' data: https:; font-src https: fonts.googleapis.com; connect-src https: *.newrelic.com bam.nr-data.net; report-uri /report-csp-violation; upgrade-insecure-requests";
add_header Content-Security-Policy "worker-src 'self'; script-src https: bam.nr-data.net 'unsafe-inline'; img-src 'self' data: https:; font-src https: fonts.googleapis.com; connect-src https: bam.nr-data.net; report-uri /report-csp-violation; upgrade-insecure-requests";
add_header Referrer-Policy "strict-origin-when-cross-origin";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload; always;";
add_header X-Content-Options "nosniff";
Expand Down

0 comments on commit 69257ec

Please sign in to comment.