server/headers/fp

This commit is contained in:
Marc Beninca 2019-08-13 15:23:13 +02:00
parent db84b87995
commit 122c83ea53

View file

@ -404,9 +404,9 @@ Security
add_header X-Content-Type-Options "nosniff" always; add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always; add_header X-Frame-Options "SAMEORIGIN" always;
set $fp ""; set $fp "";
set $fp "${fp}camera 'none';"; set $fp "${fp} camera 'none';";
set $fp "${fp}microphone 'none';"; set $fp "${fp} microphone 'none';";
set $fp "${fp}payment 'none';"; set $fp "${fp} payment 'none';";
add_header Feature-Policy "${fp}" always; add_header Feature-Policy "${fp}" always;
Sites Sites