Not the answer you need?
Register and ask your own question!

percona PMM Server(docker installation) behind Haproxy

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 https://192.168.1.123/graph/) the query works just fine.

However behind haproxy (https://pmmdashboard.mydomain.local/graph) the query fails with Bad request</h1> Your browser sent an invalid request. </body></html>

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
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.