Uptime Kuma
This commit is contained in:
parent
a3803493fe
commit
051031c3f7
3 changed files with 23 additions and 0 deletions
Binary file not shown.
|
After Width: | Height: | Size: 294 KiB |
|
|
@ -77,6 +77,14 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"uptime.kylekrein.com" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${toString config.services.uptime-kuma.settings.HOST}:${toString config.services.uptime-kuma.settings.PORT}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"${config.services.nextcloud.hostName}" = {
|
"${config.services.nextcloud.hostName}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
||||||
15
systems/x86_64-linux/stargate/services/uptime-kuma.nix
Normal file
15
systems/x86_64-linux/stargate/services/uptime-kuma.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.uptime-kuma = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PORT = "4621";
|
||||||
|
HOST = "127.0.0.1";
|
||||||
|
};
|
||||||
|
appriseSupport = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue