Skip to content

Commit

Permalink
feat: added csp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed May 14, 2024
1 parent 3d497da commit 9915d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server {
add_header X-XSS-Protection "1; mode=block";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header Referrer-Policy "no-referrer-when-downgrade";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https:; object-src 'none';";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https:; worker-src 'self' blob: https://apps.powerhouse.io; connect-src 'self' https://*.sentry.io; img-src 'self' data:; object-src 'none'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.googleapis.com";

# Gzip Settings
gzip on;
Expand Down

0 comments on commit 9915d85

Please sign in to comment.