mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-20 08:22:55 +01:00
chore: comment out anubis
This commit is contained in:
parent
2c2e1544c5
commit
7671014026
7 changed files with 69 additions and 57 deletions
|
|
@ -5,19 +5,20 @@
|
|||
enable = true;
|
||||
settings.PORT = "4800";
|
||||
};
|
||||
anubis.instances.uptime-kuma = {
|
||||
settings = {
|
||||
TARGET = "http://localhost:4800";
|
||||
BIND = ":4801";
|
||||
BIND_NETWORK = "tcp";
|
||||
};
|
||||
};
|
||||
#anubis.instances.uptime-kuma = {
|
||||
# settings = {
|
||||
# TARGET = "http://localhost:4800";
|
||||
# BIND = "/run/anubis/anubis-uptime-kuma/anubis.sock";
|
||||
# METRICS_BIND = "/run/anubis/anubis-uptime-kuma/anubis.sock";
|
||||
# };
|
||||
#};
|
||||
nginx.virtualHosts."uptime.liv.town" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost${toString config.services.anubis.instances.uptime-kuma.settings.BIND}";
|
||||
# proxyPass = "http://unix:${toString config.services.anubis.instances.uptime-kuma.settings.BIND}";
|
||||
proxyPass = "http://localhost:4800";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue