Uptime kuma
This commit is contained in:
parent
7999794410
commit
7ba6caf5a1
4 changed files with 21 additions and 0 deletions
11
modules/system/services/server/uptime-kuma/nginx/default.nix
Normal file
11
modules/system/services/server/uptime-kuma/nginx/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."uptime.${config.vars.primeDomain}" = lib.mkIf config.services.uptime-kuma.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:4005";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue