1
0
Fork 0
forked from emily/nixfiles

Add uptime-kuma to services

This commit is contained in:
emily 2024-06-12 15:12:45 +02:00
parent c4f3ccc4b5
commit 88b7a63bb0
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995

View file

@ -0,0 +1,18 @@
{ ... }:{
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" = {};
}