From f97c9d60e4f6a93d63433f99ba1bdf9d7000b5ae Mon Sep 17 00:00:00 2001 From: pennae Date: Fri, 26 Aug 2022 19:53:55 +0200 Subject: nixos/firefox-syncserver: proxyPass singleNode to 127.0.0.1 syncstorage-rs does not listen on ::1 unless explicitly configured. --- nixos/modules/services/networking/firefox-syncserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/firefox-syncserver.nix b/nixos/modules/services/networking/firefox-syncserver.nix index 52ed1c361537..d3468fe1c464 100644 --- a/nixos/modules/services/networking/firefox-syncserver.nix +++ b/nixos/modules/services/networking/firefox-syncserver.nix @@ -312,7 +312,7 @@ in enableACME = cfg.singleNode.enableTLS; forceSSL = cfg.singleNode.enableTLS; locations."/" = { - proxyPass = "http://localhost:${toString cfg.settings.port}"; + 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; -- cgit v1.2.3