Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

adhoc query form doesn't work with reverse proxy #1

Description

@riznob

I am using nginx as a reverse proxy to host phppgadmin at a different context root, /phppgadmin/. The form to run an adhoc query has an action="/display.php". This leads to a 404 because the form action does not represent the path needed due to the reverse proxy.

Steps to reproduce:
Download the attached docker-compose.yml.txt and nginx.conf.txt files to a common directory.
Rename each file, removing the .txt extension.
Run docker-compose up.
Open a web browser to http://localhost:8000/phppgadmin/
Create a table, then navigate to the Browse tab of the new table.
Click the submit button. Observe the 404.

docker-compose.yml.txt
nginx.conf.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions