Closed dpage closed 2 years ago
Comment migrated from Redmine: https://redmine.postgresql.org/issues/2531#note-1 Originally created by Dave Page at 2017-07-04 10:42:31 UTC.
Hi
Yes, you can use APPLICATION_ROOT if needed, however it usually isn't - at least when doing this with Apache. Here's a user report of a working setup with nginx:
Redmine ticket header update:
Name | Old Value | New Value |
---|---|---|
Tracker changed | Feature | Support |
Status changed | New | Resolved |
Issue closed on Redmine.
Issue migrated from Redmine: https://redmine.postgresql.org/issues/2531 Originally created by Dmitry Glavchev at 2017-07-04 01:31:44 UTC.
Hi,
I've been trying to setup pgAdmin4 web server behind nginx reverse proxy instead of accessing 5050 port directly. I managed to configure proxy setup however all the static resources from login page fail with error 404.
They are referencing hostname root like this:
Source code looks like this:
Can this be resolved setting custom APPLICATION_ROOT in config.py to the URL prefix I use for the proxy? Or there is more feasible workaround for this. I'm using dockerized pgAdmin4 from here: https://hub.docker.com/r/meedan/pgadmin/
Thanks!