Add Uptime Kuma
Add Uptime Kuma as as service, configure a reverse proxy and add it to Homepage.
This commit is contained in:
parent
bbbad11fd9
commit
44699fb007
4 changed files with 28 additions and 0 deletions
17
hosts/nixedo/services/uptime-kuma.nix
Normal file
17
hosts/nixedo/services/uptime-kuma.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
uptime-kuma.enable = true;
|
||||
|
||||
nginx.virtualHosts."uptime.oliverdavies.uk" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "oliverdavies.uk";
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.uptime-kuma.settings.PORT}";
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue