diff --git a/hosts/server/service.nix b/hosts/server/service.nix index a2f2a71..4611df0 100644 --- a/hosts/server/service.nix +++ b/hosts/server/service.nix @@ -31,6 +31,10 @@ i2p = {enable = true;}; + cockpit = { + enable = true; + allowed-origins = ["https://pit.dhilton.xyz"]; + }; nix-serve = { enable = true; secretKeyFile = "/var/cache-priv-key.pem"; @@ -173,6 +177,15 @@ }; }; + "pit.dhilton.xyz" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://127.0.0.1:9090"; + proxyWebsockets = true; + }; + }; + "nix.dhilton.xyz" = { locations."/".proxyPass = "http://127.0.0.1:5000"; };