diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-12 15:13:24 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 15:13:24 -0700 |
commit | 56d46ce5ca25cc68c6f47fd61fb31e7e358af6d7 (patch) | |
tree | 8fa1fbffb2c4c7951e4b7c02ec34b205b4b7f317 /profiles | |
parent | profiles/monitoring: move loki to a profile (diff) | |
download | world-56d46ce5ca25cc68c6f47fd61fb31e7e358af6d7.tar.gz |
profiles/loki: fix a few configuration errors
Diffstat (limited to '')
-rw-r--r-- | profiles/monitoring/loki.nix | 7 | ||||
-rw-r--r-- | profiles/router.nix | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/profiles/monitoring/loki.nix b/profiles/monitoring/loki.nix index 1200846..012b986 100644 --- a/profiles/monitoring/loki.nix +++ b/profiles/monitoring/loki.nix @@ -13,7 +13,7 @@ ingester = { lifecycler = { - address = cfg.listenAddress; + address = "127.0.0.1"; ring = { kvstore = { store = "inmemory"; }; replication_factor = 1; @@ -86,9 +86,8 @@ }; services.nginx.virtualHosts."loki.${config.homelab.domain}" = { - default = true; forceSSL = true; - enableACME = true; + useACMEHost = config.homelab.domain; listen = [ { addr = "192.168.6.40"; @@ -97,7 +96,7 @@ } ]; locations."/" = { - proxyPass = "http://127.0.0.1::${toString services.loki.configuration.server.http_listen_port}"; + proxyPass = "http://127.0.0.1:${toString services.loki.configuration.server.http_listen_port}"; }; }; } diff --git a/profiles/router.nix b/profiles/router.nix index 2ed88bb..1f33bca 100644 --- a/profiles/router.nix +++ b/profiles/router.nix @@ -52,7 +52,7 @@ dhcp-host=d8:bb:c1:44:1c:d3,tahoe,192.168.0.40,infinite # hosted names - cname=loki.fcuny.xyz,tahoe.home + cname=loki.fcuny.xyz,192.168.6.40 ''; }; |