1
0
Fork 0

prometheus: make nginx strip /alert2muc when proxying

This commit is contained in:
Astro 2023-01-01 20:48:25 +01:00
parent 08232b8718
commit 046e6d4828
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@
};
locations."/alert2muc" = {
proxyPass = "http://localhost:9022";
extraConfig = ''
rewrite ^/alert2muc/(.*) /$1 break;
'';
};
};
};