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/monitoring | |
parent | profiles/monitoring: move loki to a profile (diff) | |
download | world-56d46ce5ca25cc68c6f47fd61fb31e7e358af6d7.tar.gz |
profiles/loki: fix a few configuration errors
Diffstat (limited to 'profiles/monitoring')
-rw-r--r-- | profiles/monitoring/loki.nix | 7 |
1 files changed, 3 insertions, 4 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}"; }; }; } |