added https
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user