Deploy bin-cache

This commit is contained in:
Julien Malka 2023-05-14 13:53:34 +02:00
parent 6758290677
commit 040a9e7a6e
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 11 additions and 12 deletions

View file

@ -123,6 +123,16 @@
};
};
deploy.nodes.bin-cache = {
hostname = "bin-cache.julienmalka.me";
profiles.system = {
sshUser = "root";
sshOpts = [ "-p" "45" ];
fastConnection = true;
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.lisa;
};
};
deploy.nodes.tower = {
hostname = "tower.julienmalka.me";

View file

@ -32,18 +32,7 @@
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:3001";
proxyWebsockets = true;
};
};
security.acme.certs."uptime.luj".server = "https://ca.luj:8444/acme/acme/directory";
services.nginx.virtualHosts."uptime.luj" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:3001";
proxyPass = "http://localhost:8080";
proxyWebsockets = true;
};
};