leon #105
|
@ -43,6 +43,7 @@
|
||||||
path_prefix = "/alertmanager";
|
path_prefix = "/alertmanager";
|
||||||
} {
|
} {
|
||||||
static_configs = [{
|
static_configs = [{
|
||||||
|
# alert2muc
|
||||||
targets = [ "localhost:9022" ];
|
targets = [ "localhost:9022" ];
|
||||||
}];
|
}];
|
||||||
}];
|
}];
|
||||||
|
@ -128,6 +129,9 @@
|
||||||
auth_basic_user_file ${config.sops.secrets."nginx/httpAuth".path};
|
auth_basic_user_file ${config.sops.secrets."nginx/httpAuth".path};
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
locations."/alert2muc" = {
|
||||||
|
proxyPass = "http://localhost:9022";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user