hosts/hydra-1: add nix-cache.clerie.de
This commit is contained in:
parent
df4e162a9b
commit
8ddfcf6c17
@ -46,6 +46,13 @@
|
||||
useSubstitutes = true;
|
||||
};
|
||||
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
port = 5005;
|
||||
bindAddress = "127.0.0.1";
|
||||
secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key";
|
||||
};
|
||||
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts = {
|
||||
"hydra.clerie.de" = {
|
||||
@ -57,6 +64,13 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
"nix-cache.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:5005";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
Loading…
Reference in New Issue
Block a user