Skip to content

Nginx reverse proxy to phpmyadmin is not working #210

@SubrataM3

Description

@SubrataM3

Docker Image version:
4.8.5 (using the latest tag)

Nginx configuration:
Using the same configuration that is supposed to work as per the comments of other users here.

location /phpmyadmin {
                proxy_pass http://phpmyadmin/;
                proxy_redirect off;
                proxy_set_header Host $host;
}

Docker-compose
I have set correct environment variable using the following URL
- PMA_ABSOLUTE_URI=https://sub.domain_name.com/phpmyadmin/

Issues

  1. The page is not loading correctly (Please check attached image) (latest version)
    shot_190219_014516
  2. Whenever the env variable is set in docker-compose I get following warning.

There is a mismatch between HTTPS indicated on the server and client. This can lead to non-working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.

I am sure the PMA_ABSOLUTE_URI is correctly set.

  1. After submitting login I get 404 Not Found.

  2. I have also tried earlier versions like 4.7 and 4.6. Those were just returning a blank page, you can see failed elements in the following screenshot.
    image

Kindly help me with this issue. You can also send instructions to debug this.
Thank you.

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