# Support for PMM behind a Ingress Reverse Proxy

**URL:** <https://forums.percona.com/t/support-for-pmm-behind-a-ingress-reverse-proxy/20142>\
**Category:** Contribute to PMM\
**Created:** [February 16, 2023, 2:56pm UTC](https://forums.percona.com/t/support-for-pmm-behind-a-ingress-reverse-proxy/20142 "2023-02-16T14:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@Tim](https://forums.percona.com/u/Tim)\
**Post date:** [February 16, 2023, 2:56pm UTC](https://forums.percona.com/t/support-for-pmm-behind-a-ingress-reverse-proxy/20142/1 "2023-02-16T14:56:03Z")

</div>

We are using the Percona PMM server for monitoring an mongodb database cluster. We have exposed the PMM/Grafana client outside the cluster via Kubernetes Ingress. We which to use the default hostname, and route the traffic via a reverse proxy. We have been able to configure Grafana so work behind the proxy but PMM does not support the set of variable that would allow it to work.

Is this a feature we might expect in the future?

---

<div class="post-metadata">

**Author:** ![Denys\_Kondratenko](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/denys_kondratenko/32/2798_2.png) [@Denys\_Kondratenko](https://forums.percona.com/u/Denys_Kondratenko)\
**Post date:** [February 16, 2023, 4:45pm UTC](https://forums.percona.com/t/support-for-pmm-behind-a-ingress-reverse-proxy/20142/2 "2023-02-16T16:45:33Z")

</div>

Hi Tim,

So you could access 443/80 port of PMM and see PMM UI/Grafana?  
What do you mean PMM doesn’t work?

Some hints:

> [@Unable to setup proxy between pmm-client and server](https://forums.percona.com/t/unable-to-setup-proxy-between-pmm-client-and-server/8443/3):
>
> Hi, I was working on all the suggestions mentioned in the link you provided. Since I am not that good at Nginx it took me some time to fix the issue. Sharing the details with you. I have two NGINX proxy servers that are configured with load balancing. All my servers(clients) requests are going through these 2 servers and reach to PMM server(pmm container). I was able to set up client servers and PMM directly without any issues and the issue was when the requests passing through the proxy-serv…

PMM has ngnix inside of a container, so you have three proxies on top of each other.

I am not a proxy expert, so it is hard to understand your configuration. Could you please share details of your configs for ingress and reverse proxy?
