diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-28 18:38:44 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-28 18:38:44 +0000 |
commit | f6424dc6a70c598d581743113ef292d7e6487077 (patch) | |
tree | f0d3f1918dd0164486ce510839cdd796b66cc233 /spring-front/nginx.conf | |
parent | wip (diff) | |
download | mdrtl-f6424dc6a70c598d581743113ef292d7e6487077.tar.gz mdrtl-f6424dc6a70c598d581743113ef292d7e6487077.zip |
added feature-policy to nginx
Diffstat (limited to 'spring-front/nginx.conf')
-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; |