aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/nginx.conf
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-30 20:11:57 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-30 20:11:57 +0000
commitb6e927fe3f46baf01bbbe0c42d26151e343204fa (patch)
treeb697e57102d0ace831344c2115a0f589b79908f3 /spring-front/nginx.conf
parentadded feature-policy to nginx (diff)
downloadmdrtl-b6e927fe3f46baf01bbbe0c42d26151e343204fa.tar.gz
mdrtl-b6e927fe3f46baf01bbbe0c42d26151e343204fa.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 db1eea9..84f1937 100644
--- a/spring-front/nginx.conf
+++ b/spring-front/nginx.conf
@@ -22,9 +22,9 @@ http {
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 Feature-Policy "geolocation none;midi none;notifications none;push none;sync-xhr none;microphone none;camera none;magnetometer none;gyroscope none;speaker none;vibrate none;fullscreen self;payment none;";
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)";
fastcgi_hide_header X-Powered-By;
resolver 9.9.9.9 208.67.222.222;
ssl_stapling on;