From 5d066a4c63e102d4966e7baccc1072ffae732fa7 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Fri, 23 Aug 2024 22:12:45 +0200 Subject: [PATCH] features cleanup Since this header is attached to each outgoing request the overall size is slightly increased by 300 bytes, we don't care if the site is allowed to play media in the background, so with the vast majority of features that have been added (and those that were already present) --- Caddyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index 943063b..c567168 100644 --- a/Caddyfile +++ b/Caddyfile @@ -47,7 +47,7 @@ header { X-Content-Type-Options "nosniff" # Disable some browser features - Permissions-Policy "accelerometer=(),ambient-light-sensor=(),autoplay=(),battery=(),camera=(),cross-origin-isolated=(),display-capture=(self),document-domain=(),encrypted-media=(),execution-while-not-rendered=(),execution-while-out-of-viewport=(),fullscreen=(self),geolocation=(),gyroscope=(),keyboard-map=(self),magnetometer=(),microphone=(),midi=(),navigation-override=(self),payment=(),picture-in-picture=(),publickey-credentials-get=(),screen-wake-lock=(),sync-xhr=(),usb=(),web-share=(),xr-spatial-tracking=()" + Permissions-Policy "accelerometer=(),camera=(),geolocation=(),gyroscope=(),magnetometer=(),microphone=(),payment=(),usb=()" # Set referrer policy Referrer-Policy "no-referrer"