Skip to content

Commit 5871903

Browse files
committed
Fixed deprecated feature policy header and added some new permissions to deny that aren't needed
1 parent 747d744 commit 5871903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/header.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
server_tokens off;
33
add_header Referrer-Policy "same-origin";
4-
add_header Feature-Policy "geolocation none;midi none;notifications none;push none;sync-xhr self;microphone none;camera none;magnetometer none;gyroscope none;speaker none;vibrate none;fullscreen self;payment none;";
4+
add_header Permissions-Policy "geolocation none;midi none;notifications none;push none;sync-xhr self;microphone none;camera none;magnetometer none;gyroscope none;speaker none;vibrate none;fullscreen self;payment none;bluetooth none;display-capture none;usb none;"
55
add_header Content-Security-Policy "frame-ancestors 'none';";
66
add_header X-Frame-Options DENY;
77
add_header X-Content-Type-Options "nosniff";

0 commit comments

Comments
 (0)