diff --git a/hosts/abacus/syncthing.nix b/hosts/abacus/syncthing.nix index ffd3b59..37b4b57 100644 --- a/hosts/abacus/syncthing.nix +++ b/hosts/abacus/syncthing.nix @@ -14,6 +14,12 @@ in { forceSSL = true; quic = true; - locations."/".proxyPass = "http://${config.services.syncthing.guiAddress}"; + locations."/" = { + proxyPass = "http://${config.services.syncthing.guiAddress}"; + + extraConfig = '' + proxy_set_header Host ${config.services.syncthing.guiAddress}; + ''; + }; }; }