# How to access PMM through a Loadbalancer

**URL:** <https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783>\
**Category:** PMM 2.x\
**Created:** [June 3, 2024, 1:19pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783 "2024-06-03T13:19:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 3, 2024, 1:19pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783/1 "2024-06-03T13:19:50Z")

</div>

Hi,

I want to access to the PMM server run with Podman through a loadbalancer like Kemp. It is possible to configure this access ? If yes, I need help.

The page that the browser contains this output:

{  
“code”: 16,  
“error”: “Unauthorized”,  
“message”: “Unauthorized”  
}

Regards  
Olivier

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [June 3, 2024, 2:32pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783/2 "2024-06-03T14:32:13Z")

</div>

Hello,  
I don’t have experience with Kemp, could you provide more details how it was configured and how it supposed to work? Seems like you have some re-routing there and that’s why it’s showing what you see.

Regards,  
Nurlan

---

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 4, 2024, 12:02pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783/3 "2024-06-04T12:02:37Z")

</div>

Hi,

More explain about my problem.

If I made this following configuration, that’s work.

Client ([https://percona.domain.com](https://percona.domain.com)) → 443 → Loadbalancer Kemp → 443 → Container Podman PMM

But if I made this following configuration, that’s does not work.  
Client ([https://adminintra.domain.com/percona](https://adminintra.domain.com/percona)) → 443 Loadbalance Kemp → 443 → Container Podman PMM  
I have found some information, about this error “{“code”:16,“error”:“Unauthorized”,“message”:“Unauthorized”}”. Some of else, looks with Grafana.ini file configuration with the API module.

I hope that this explain help you more. I have also open a case directly at Kemp.

Regards  
Olivier

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [June 4, 2024, 12:23pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783/4 "2024-06-04T12:23:35Z")

</div>

Thanks for the explanation.  
Unfortunately, we don’t support subpath yet.

---

<div class="post-metadata">

**Author:** ![Olivier\_Studer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/olivier_studer/32/16602_2.png) [@Olivier\_Studer](https://forums.percona.com/u/Olivier_Studer)\
**Post date:** [June 4, 2024, 1:56pm UTC](https://forums.percona.com/t/how-to-access-pmm-through-a-loadbalancer/30783/5 "2024-06-04T13:56:42Z")

</div>

Hi,

what do you means about subpath ? It is not possible to configure or modified the Nginx configuration ?

Regards  
Olivier
