19 lines
425 B
Nix
19 lines
425 B
Nix
|
{ ... }:{
|
||
|
services.uptime-kuma = {
|
||
|
enable = true;
|
||
|
appriseSupport = true;
|
||
|
settings = {
|
||
|
HOST = "::1";
|
||
|
PORT = "3001";
|
||
|
NODE_EXTRA_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt";
|
||
|
};
|
||
|
};
|
||
|
kyouma.nginx.virtualHosts."uptime.kyouma.net" = {
|
||
|
locations."/" = {
|
||
|
proxyPass = "http://[::1]:3001";
|
||
|
proxyWebsockets = true;
|
||
|
};
|
||
|
};
|
||
|
security.acme.certs."uptime.kyouma.net" = {};
|
||
|
}
|