这是indexloc提供的服务,不要输入任何密码
Skip to content

pgadmin does not respect reverse proxy any more #5507

@fjf2002

Description

@fjf2002

Hello,

I have an Nginx reverse proxy configuration something like

    proxy_set_header X-Script-Name /pgadmin;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $host;

... that was working a few months ago (also cf. #4552).

Now it's broken, unfortunately. For example, shortly after clicking the login button, pgadmin calls many URLs not containing the X-Script-Name, as I can see in Chrome Devtools. For example:

GET https://mydomain/static/css/webcabin.overrides.css?v=1667892035310 net::ERR_ABORTED 404 (Not Found)
POST https://mydomain/browser/master_password 404 (Not Found)
GET https://mydomain/browser/check_corrupted_db_file 404 (Not Found)
GET https://mydomain/misc/bgprocess/ 404 (Not Found)
POST https://mydomain/settings/store 404 (Not Found)
POST https://mydomain/misc/cleanup 404 (Not Found)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions