From 44b2637202a10003bcda758ed90664e57d386012 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Tue, 20 Aug 2024 23:06:39 +0200 Subject: [PATCH] fix --- hosts/abacus/syncthing.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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}; + ''; + }; }; }