summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-10-03 14:11:39 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-10-06 14:48:53 +0200
commit3826e303c687871df85ba46eb8f7a11f572623c6 (patch)
tree68e7ddb27800fa562865e1def72df455b12c515d
parentf97c9d60e4f6a93d63433f99ba1bdf9d7000b5ae (diff)
nixos/firefox-syncserver: remove extra add_header
syncstorage-rs sets this header starting with 0.12.3.
-rw-r--r--nixos/modules/services/networking/firefox-syncserver.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/firefox-syncserver.nix b/nixos/modules/services/networking/firefox-syncserver.nix
index d3468fe1c464..d7d5df59a4eb 100644
--- a/nixos/modules/services/networking/firefox-syncserver.nix
+++ b/nixos/modules/services/networking/firefox-syncserver.nix
@@ -313,10 +313,6 @@ in
forceSSL = cfg.singleNode.enableTLS;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString cfg.settings.port}";
- # source mentions that this header should be set
- extraConfig = ''
- add_header X-Content-Type-Options nosniff;
- '';
};
};
};