diff --git a/hosts/prometheus/default.nix b/hosts/prometheus/default.nix index 713624e6..98669767 100644 --- a/hosts/prometheus/default.nix +++ b/hosts/prometheus/default.nix @@ -43,6 +43,7 @@ path_prefix = "/alertmanager"; } { static_configs = [{ + # alert2muc targets = [ "localhost:9022" ]; }]; }]; @@ -128,6 +129,9 @@ auth_basic_user_file ${config.sops.secrets."nginx/httpAuth".path}; ''; }; + locations."/alert2muc" = { + proxyPass = "http://localhost:9022"; + }; }; };