Skip to content

Commit 030e35d

Browse files
authored
Merge pull request #1743 from hashtopolis/1658-feature-policy-deprecated
Fixed deprecated feature policy header and added some new permissions to deny that aren't needed.
2 parents 2960dd8 + 26ddb8b commit 030e35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

000-default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Require all granted
1313
</Directory>
1414
Header always set Referrer-Policy "same-origin"
15-
Header always set 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;"
15+
Header always set 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;"
1616
Header always set Content-Security-Policy "frame-ancestors 'none';"
1717
Header always set X-Frame-Options "DENY"
1818
Header always set X-Content-Type-Options "nosniff"

0 commit comments

Comments
 (0)