From bf6c231d1f675e13e24304b05657e93cdf180a8f Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 17 Feb 2025 01:13:14 -0600 Subject: [PATCH] added https --- nixos/services/promtail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/services/promtail.nix b/nixos/services/promtail.nix index 347fb25..f142e25 100644 --- a/nixos/services/promtail.nix +++ b/nixos/services/promtail.nix @@ -1,6 +1,6 @@ { config, pkgs, ... }: let - lokiHost = "loki.john-stream.com:3100"; + lokiHost = "loki.john-stream.com"; in { systemd.services.promtail.serviceConfig = { @@ -22,7 +22,7 @@ in positions = { filename = "/tmp/positions.yaml"; }; - clients = [{url = "http://${lokiHost}/loki/api/v1/push";}]; + clients = [{url = "https://${lokiHost}/loki/api/v1/push";}]; scrape_configs = [ { job_name = "journal";