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 = {