forked from c3d2/nix-config
prometheus: make nginx strip /alert2muc when proxying
This commit is contained in:
parent
08232b8718
commit
046e6d4828
|
@ -135,6 +135,9 @@
|
|||
};
|
||||
locations."/alert2muc" = {
|
||||
proxyPass = "http://localhost:9022";
|
||||
extraConfig = ''
|
||||
rewrite ^/alert2muc/(.*) /$1 break;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue