Skip to content

Enable hosting in subdirectories #33

@curry684

Description

@curry684

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions