about summary refs log tree commit diff
path: root/profiles/monitoring/promtail.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-12 14:53:59 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-12 14:55:31 -0700
commit03707f1c0d9615d3c6385132af52de60c2fedfc0 (patch)
treeb3e1a344693cb4c151e014812d42bac63d616567 /profiles/monitoring/promtail.nix
parentprofiles/monitoring: move promtail to a profile (diff)
downloadworld-03707f1c0d9615d3c6385132af52de60c2fedfc0.tar.gz
profiles/monitoring: move loki to a profile
Add a nginx virtualhost for loki too, so that we can use a valid SSL
certificate.
Diffstat (limited to 'profiles/monitoring/promtail.nix')
-rw-r--r--profiles/monitoring/promtail.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/monitoring/promtail.nix b/profiles/monitoring/promtail.nix
index 23b6669..a3b95c2 100644
--- a/profiles/monitoring/promtail.nix
+++ b/profiles/monitoring/promtail.nix
@@ -2,7 +2,7 @@
 {
   services.promtail.enable = true;
   services.promtail.configuration = {
-    clients = [{ url = "https://loki.${config.homelab.domain}:3100/loki/api/v1/push"; }];
+    clients = [{ url = "https://loki.${config.homelab.domain}/loki/api/v1/push"; }];
     scrape_configs = [
       {
         job_name = "journal";