1
0
Fork 0

prometheus: proxy alert2muc thru nginx

This commit is contained in:
Astro 2022-12-29 03:31:30 +01:00
parent af77b16b02
commit eb4161749f
1 changed files with 4 additions and 0 deletions

View File

@ -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";
};
};
};