hosts/hydra-1: use nix-serve-ng
This commit is contained in:
parent
c9bf0c7d1a
commit
0a2bb76f40
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user