1
0

hosts/hydra-1: use nix-serve-ng

This commit is contained in:
clerie 2023-02-24 23:11:21 +01:00
parent c9bf0c7d1a
commit 0a2bb76f40

View File

@ -54,7 +54,7 @@
bindAddress = "127.0.0.1"; bindAddress = "127.0.0.1";
secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key"; secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key";
# Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909 # Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909
package = pkgs.nix-serve.override { package = pkgs.nix-serve-ng.override {
nix = pkgs.nixVersions.nix_2_12; nix = pkgs.nixVersions.nix_2_12;
}; };
}; };
@ -80,7 +80,7 @@
''; '';
}; };
locations."/" = { locations."/" = {
proxyPass = "http://localhost:5005"; proxyPass = "http://127.0.0.1:5005";
}; };
}; };
}; };