Alertmanager multitenant UI with NGINX #4807
-
Hi, i'm currently tring to implement an NGINX configuration in order to show alertmanager UI for each tenant configured. I currently deployed cortex on k8s(EKS) and i have the followin tenant configured: dev1 and dev5.
and work fine. When i'm connecting to alertmanger, i can see only dev1 UI. Now i'm trying to enable both nginx configuration in order to have both UI accessible. So i implemented this configuration
But when the proxy_pass on /alertmanager is performed, the header is not set and alertmangaer UI return a black page with this message -> "no org id". Basically the header is not set. Is it possible to configure multiple alertmanager UI and what is the best way to configure nginx? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Maybe something like this could help:
then the url for alertmanagers is |
Beta Was this translation helpful? Give feedback.
Maybe something like this could help:
then the url for alertmanagers is
https://cortex.example.com/dev1/alertmanager
https://cortex.example.com/dev5/alertmanager
etc...