mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-05 03:28:10 +02:00
Deploy bin-cache
This commit is contained in:
parent
6758290677
commit
040a9e7a6e
2 changed files with 11 additions and 12 deletions
10
flake.nix
10
flake.nix
|
@ -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 = {
|
deploy.nodes.tower = {
|
||||||
hostname = "tower.julienmalka.me";
|
hostname = "tower.julienmalka.me";
|
||||||
|
|
|
@ -32,18 +32,7 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:3001";
|
proxyPass = "http://localhost:8080";
|
||||||
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";
|
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue