diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-12 15:37:33 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 15:37:33 -0700 |
commit | a9bb14c7281c90dd8cddebcc656861c6f61d8837 (patch) | |
tree | bac18f9abecc8739cfe2f8b0e3aef265258c59a6 /profiles | |
parent | profiles/nginx: set the default port to 8080 (diff) | |
download | world-a9bb14c7281c90dd8cddebcc656861c6f61d8837.tar.gz |
profiles/monitoring: a bunch of fixes
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/monitoring/loki.nix | 2 | ||||
-rw-r--r-- | profiles/nginx.nix | 2 | ||||
-rw-r--r-- | profiles/router.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/profiles/monitoring/loki.nix b/profiles/monitoring/loki.nix index 012b986..4b31bb4 100644 --- a/profiles/monitoring/loki.nix +++ b/profiles/monitoring/loki.nix @@ -96,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 config.services.loki.configuration.server.http_listen_port}"; }; }; } diff --git a/profiles/nginx.nix b/profiles/nginx.nix index 7446cbc..e32106f 100644 --- a/profiles/nginx.nix +++ b/profiles/nginx.nix @@ -8,7 +8,7 @@ # configuration of the router, since we need to listen on port 80 # too for streaming. statusPage = true; - defaultHTTPListenPort = 8080; + defaultHTTPListenPort = 8008; recommendedGzipSettings = true; recommendedOptimisation = true; diff --git a/profiles/router.nix b/profiles/router.nix index 1f33bca..d259d6a 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,192.168.6.40 + host-record=loki,loki.${config.homelab.domain},192.168.6.40 ''; }; |