From 74d263390d7b0efb24743cd9bb555629eb8c45b1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 12 Aug 2019 23:04:45 +0200 Subject: [PATCH] server/fp --- in/personal/server/index.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/in/personal/server/index.rst b/in/personal/server/index.rst index b4c7e19..e11120f 100644 --- a/in/personal/server/index.rst +++ b/in/personal/server/index.rst @@ -397,7 +397,11 @@ Security add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload" always; add_header X-Content-Type-Options "nosniff" always; add_header X-Frame-Options "SAMEORIGIN" always; - add_header Feature-Policy "camera 'none'; payment 'none'" always; + set $fp ""; + set $fp "${fp}camera 'none';"; + set $fp "${fp}microphone 'none';"; + set $fp "${fp}payment 'none';"; + add_header Feature-Policy "${fp}" always; Sites ^^^^^