hydra: fix occasional 502

hydra only listens on v4
This commit is contained in:
Sandro - 2023-04-11 00:24:32 +02:00
parent 186e4971c9
commit 1bf9c651f5
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ in
default = true;
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${toString config.services.hydra.port}";
locations."/".proxyPass = "http://127.0.0.1:${toString config.services.hydra.port}";
serverAliases = [
"hydra-ca.hq.c3d2.de"
"hydra.serv.zentralwerk.org"
@ -215,7 +215,7 @@ in
"nix-cache.hq.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:${toString cachePort}";
locations."/".proxyPass = "http://127.0.0.1:${toString cachePort}";
serverAliases = [
"nix-serve.hq.c3d2.de"
];