Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable hosting in subdirectories #33

Open
curry684 opened this issue Jun 28, 2018 · 0 comments
Open

Enable hosting in subdirectories #33

curry684 opened this issue Jun 28, 2018 · 0 comments

Comments

@curry684
Copy link

curry684 commented Jun 28, 2018

When using this in a more complex project I use Nginx to bind multiple composed containers together, ie. in my application I have for example /admintools/grafana, /admintools/rabbitmq, /admintools/mongo-express and /admintools/phpmyadmin. Unlike these tools however PgAdmin4 insists on taking control of the path, and I see no (easy) way to override it. When using this container it just redirects me to /browser, giving me a 404 of my own application.

In an ideal world I'd just pass an env variable PGADMIN_PATH_PREFIX=/admintools/pgadmin. Can my world become that ideal? 😉

It should be noted that the /admintools virtual folder is secured at the Nginx level, so I'd also want to disable authentication. Surfing to /admintools/pgadmin should, if allowed by Nginx, just show me the application database right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant