phpMyAdmin behind HAProxy
-
I have phpMyAdmin running on a backend server on port 80 at /phpmyadmin. I want my backend to append the /phpmyadmin to any requests.
This is what my backend setup looks like:
If I go to https://phpmyadin.somedomain.org it correctly routes me to my backend and displays the logon page.
However, when I attempt to login, I get a cookie error and the path in the browser address is not updated to include the /phpmyadmin. I suspect that I am missing something here with respect to the client maybe rewriteing the path when I click the logon button?
If I manually add /phpmyadmin to the path above (ie: /phpmyadmin/index.php) I am succesfully logged in
As you can see, from the rules I have a similar configuration for pgadmin and icinga which work without issue.