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, ... }:
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";