From cbc86a4b604c9488f7de447b4360a19d7c11bad8 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Tue, 7 Mar 2023 09:56:19 +0100 Subject: [PATCH] mastodon: Hide upstream Strict-Transport-Security header --- system/nixos/mastodon.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/nixos/mastodon.nix b/system/nixos/mastodon.nix index b1db9ac..e450a32 100644 --- a/system/nixos/mastodon.nix +++ b/system/nixos/mastodon.nix @@ -97,6 +97,7 @@ in proxyWebsockets = true; extraConfig = '' + proxy_hide_header Strict-Transport-Security; proxy_force_ranges on; ''; }; @@ -107,6 +108,7 @@ in proxyWebsockets = true; extraConfig = '' + proxy_hide_header Strict-Transport-Security; proxy_force_ranges on; ''; };