added https

This commit is contained in:
John Lancaster
2025-02-17 01:13:14 -06:00
parent f0dd952341
commit bf6c231d1f

View File

@@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
lokiHost = "loki.john-stream.com:3100"; lokiHost = "loki.john-stream.com";
in in
{ {
systemd.services.promtail.serviceConfig = { systemd.services.promtail.serviceConfig = {
@@ -22,7 +22,7 @@ in
positions = { positions = {
filename = "/tmp/positions.yaml"; filename = "/tmp/positions.yaml";
}; };
clients = [{url = "http://${lokiHost}/loki/api/v1/push";}]; clients = [{url = "https://${lokiHost}/loki/api/v1/push";}];
scrape_configs = [ scrape_configs = [
{ {
job_name = "journal"; job_name = "journal";