pgadmin4, reverse proxy and apache
François Valenduc <[email protected]> Tue, 22 Oct 2019 21:29:25 +0200
| Newsgroups | gmane.comp.db.postgresql.pgadmin |
|---|---|
| Message-ID | <[email protected]> |
Good evening, I am trying to run pgadmin4 with docker and reverse proxy with apache. The page gives info for ngninx. I have tried this with apache: <Location /pgadmin4> RedirectMatch permanent ^/pgadmin4$ /pgadmin4/ ProxyPreserveHost On ProxyPass http://127.0.0.1:5050/ ProxyPassReverse http://127.0.0.1:5050/ Header edit Location ^/ /pgadmin4/ Header always set X-Script-Name /pgadmin4 </Location> However, it doesn't work. The url is always truncated from https://foo.com/pgadmin4/login?next=%2Fpgadmin4%2F to https://foo.com/login?next=%2Fpgadmin4%2F Does anybody know ho to solve this ? Thanks in advance for your help, François Valenduc