aboutsummaryrefslogtreecommitdiff
path: root/profiles/monitoring/loki.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/monitoring/loki.nix')
-rw-r--r--profiles/monitoring/loki.nix7
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}";
};
};
}