aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/nginx.conf
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-31 15:03:55 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-31 15:03:55 +0000
commitf9a82dc311a877026993874826d988483d6f2d8d (patch)
tree6928df6068b81c890321d63191f86a4a2499dae4 /spring-front/nginx.conf
parentmoved everything into one class (diff)
downloadmdrtl-f9a82dc311a877026993874826d988483d6f2d8d.tar.gz
mdrtl-f9a82dc311a877026993874826d988483d6f2d8d.zip
wip
Diffstat (limited to 'spring-front/nginx.conf')
-rw-r--r--spring-front/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/spring-front/nginx.conf b/spring-front/nginx.conf
index 84f1937..10e2785 100644
--- a/spring-front/nginx.conf
+++ b/spring-front/nginx.conf
@@ -21,7 +21,7 @@ http {
tcp_nopush on;
add_header X-Content-Type-Options "nosniff" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
- add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' unpkg.com; style-src 'self' 'unsafe-inline' unpkg.com";
+ add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' unpkg.com cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' unpkg.com cdnjs.cloudflare.com";
add_header X-Frame-Options SAMEORIGIN always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Permissions-Policy "geolocation=(self),midi=(self),sync-xhr=(self),microphone=(self),camera=(self),magnetometer=(self),gyroscope=(self),fullscreen=(self),payment=(self),usb=(self)";