added cockpit
This commit is contained in:
parent
80c6d1bfe2
commit
70cc2587aa
@ -31,6 +31,10 @@
|
|||||||
|
|
||||||
i2p = {enable = true;};
|
i2p = {enable = true;};
|
||||||
|
|
||||||
|
cockpit = {
|
||||||
|
enable = true;
|
||||||
|
allowed-origins = ["https://pit.dhilton.xyz"];
|
||||||
|
};
|
||||||
nix-serve = {
|
nix-serve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
secretKeyFile = "/var/cache-priv-key.pem";
|
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" = {
|
"nix.dhilton.xyz" = {
|
||||||
locations."/".proxyPass = "http://127.0.0.1:5000";
|
locations."/".proxyPass = "http://127.0.0.1:5000";
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user