diff options
-rw-r--r-- | spring-front/nginx.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spring-front/nginx.conf b/spring-front/nginx.conf index cea4a92..db1eea9 100644 --- a/spring-front/nginx.conf +++ b/spring-front/nginx.conf @@ -22,6 +22,7 @@ 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; fastcgi_hide_header X-Powered-By; |