# percona PMM Server(docker installation) behind Haproxy

**URL:** <https://forums.percona.com/t/percona-pmm-server-docker-installation-behind-haproxy/7392>\
**Category:** PMM 1.x\
**Created:** [January 21, 2020, 10:06am UTC](https://forums.percona.com/t/percona-pmm-server-docker-installation-behind-haproxy/7392 "2020-01-21T10:06:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted\_baker](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@ted\_baker](https://forums.percona.com/u/ted_baker)\
**Post date:** [January 21, 2020, 10:06am UTC](https://forums.percona.com/t/percona-pmm-server-docker-installation-behind-haproxy/7392/1 "2020-01-21T10:06:35Z")

</div>

Hi, I have implemented PMM server(docker installation) and it is behind haproxy. If I access the dashboard I can see the data and graphs. Prometheus queries work well. However when I put it behind haproxy some parts of dashboard is broken with Request Error. I go to query inspector and debug it.

With the server IP (like this [URL][https://192.168.1.123/graph/[/URL]](https://192.168.1.123/graph/%5B/URL%5D)) the query works just fine.

However behind haproxy ([URL][https://pmmdashboard.mydomain.local/graph[/URL]](https://pmmdashboard.mydomain.local/graph%5B/URL%5D)) the query fails with Bad request Your browser sent an invalid request.

Is there any particular setting for haproxy ?

[HTML]acl acl\_pmmdashboard hdr(host) -i pmmdashboard.mydomain.local  
use\_backend pmmdashboard if acl\_pmmdashboard  
backend pmmdashboard  
mode http  
server pmmserver 192.168.1.123:80 weight 1 maxconn 500 check[/HTML]

Thanks and Regards,

T
