summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-26 19:53:55 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-10-06 14:48:53 +0200
commitf97c9d60e4f6a93d63433f99ba1bdf9d7000b5ae (patch)
treea9554513adb7f2f6fe1bbe0ab740a5852d9fdd26
parent8dc30e9e986eb195db842ff750482891e21179e5 (diff)
nixos/firefox-syncserver: proxyPass singleNode to 127.0.0.1
syncstorage-rs does not listen on ::1 unless explicitly configured.
-rw-r--r--nixos/modules/services/networking/firefox-syncserver.nix2
1 files changed, 1 insertions, 1 deletions
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;