From d58209ef93385735e00084fb02015918985dc06d Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sat, 27 Apr 2024 01:37:03 +0200 Subject: [PATCH] Add reverseproxy for alerts.pub.solar --- hosts/flora-6/apps/caddy.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/flora-6/apps/caddy.nix b/hosts/flora-6/apps/caddy.nix index cf70d8d8..f75f1813 100644 --- a/hosts/flora-6/apps/caddy.nix +++ b/hosts/flora-6/apps/caddy.nix @@ -37,6 +37,14 @@ reverse_proxy :${toString config.services.loki.configuration.server.http_listen_port} ''; }; + "alerts.pub.solar" = { + logFormat = lib.mkForce '' + output discard + ''; + extraConfig = '' + reverse_proxy 10.7.6.2:${toString config.services.prometheus.alertmanager.port} + ''; + }; "grafana.pub.solar" = { logFormat = lib.mkForce '' output discard