From 5ca5296e3fe5fc68bcd633b963c3df84eca787c4 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:35:10 +0200 Subject: [PATCH] update headers --- modules/services/nginx.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index 78afb3a..7667eaa 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -28,6 +28,8 @@ # add_header X-Frame-Options 'ALLOW-FROM kopatz.ddns.net'; more_set_headers 'X-Content-Type-Options nosniff'; more_set_headers "Content-Security-Policy: frame-ancestors 'https://kopatz.ddns.net'"; + more_set_headers "Referrer-Policy: same-origin"; + more_set_headers "Permissions-Policy: geolocation=(), microphone=()"; ''; #appendHttpConfig = ''