mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 09:31:38 +01:00
18 lines
303 B
Nix
18 lines
303 B
Nix
{ ... }:
|
|
let
|
|
domain = "monitoring.rfive.de";
|
|
in
|
|
{
|
|
services.uptime-kuma = {
|
|
enable = true;
|
|
};
|
|
services.nginx.virtualHosts."${domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass = "http://127.0.0.1:3001";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
|
|
}
|