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
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.