pgadmin4, reverse proxy and apache - Mailing list pgadmin-support

From François Valenduc
Subject pgadmin4, reverse proxy and apache
Date
Msg-id 7c7d5f1a-7099-ec17-624c-59525b14ce51@gmail.com
Whole thread Raw
List pgadmin-support
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




pgadmin-support by date:

Previous
From: Michael Shapiro
Date:
Subject: encrypted passwords?
Next
From: Peer Sandtner
Date:
Subject: pgadmin4/EnterpriseDB 9.0.4