added cockpit

This commit is contained in:
k 2025-07-13 10:32:20 -04:00
parent 80c6d1bfe2
commit 70cc2587aa

View File

@ -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";
};