feat(web): enable uptime-kuma
This commit is contained in:
parent
6707ee74fd
commit
a906baa322
|
@ -25,6 +25,15 @@
|
||||||
globalRedirect = "514fpv.one";
|
globalRedirect = "514fpv.one";
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"uptime.514fpv.one" = {
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:4000";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
11
spec/web/uptime.nix
Normal file
11
spec/web/uptime.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
services.uptime-kuma = {
|
||||||
|
enable = true;
|
||||||
|
settings.HOST = "127.0.0.1";
|
||||||
|
settings.PORT = "4000";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.persistence."/nix/persist/fhs".directories = [
|
||||||
|
"/var/lib/private/uptime-kuma"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue