Skip to content

Commit 79d97f8

Browse files
authored
fix: remove sec headers (#156)
## Summary by Sourcery Chores: - Removed security headers from the Nginx configuration.
1 parent d7b2c4b commit 79d97f8

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

nginx.conf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,5 @@ http {
4949

5050
#gzip on;
5151

52-
# Add security headers
53-
add_header Content-Security-Policy "default-src 'self';
54-
script-src 'self' https://www.google-analytics.com;
55-
style-src 'self' https://fonts.googleapis.com;
56-
img-src 'self' data: https:;
57-
font-src 'self' https://fonts.gstatic.com;
58-
connect-src 'self' https://*.settlemint.com;
59-
frame-src 'self' https://www.youtube.com https://youtube.com;
60-
frame-ancestors 'none';
61-
object-src 'none';
62-
base-uri 'self';
63-
form-action 'self'" always;
64-
add_header X-Frame-Options "DENY" always;
65-
add_header X-Content-Type-Options "nosniff" always;
66-
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
67-
6852
include /etc/nginx/conf.d/*.conf;
6953
}

0 commit comments

Comments
 (0)