From d659525950974ae39d46f5472179fb8ab8969ac6 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Mon, 31 Aug 2026 15:31:39 +0200 Subject: [PATCH] [fanny] fix nginx proxy to albert --- machines/fanny/configuration.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index defb3f4..b876569 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -302,13 +302,22 @@ in virtualHosts."hydra.malobeo.org" = { forceSSL = true; enableACME = true; - locations."/".proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:3000"; + locations."/" = { + proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:3000"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; }; virtualHosts."cache.malobeo.org" = { forceSSL = true; enableACME = true; - locations."/".proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:5000"; - }; + locations."/" = { + proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:5000"; + extraConfig = '' + proxy_set_header Host $host; + ''; + }; }; services.tor = {