[pgAdmin][RM4755] pgAdmin does not work behind reverse proxy if in built server is used as it is

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy if in built server is used as it is
Date: 2019-09-19 05:28:58
Message-ID: CAM9w-_kFSCfSf2gvFu_-69mhu2jW87dZ_wc_R0DTPwGE04oiUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to allow pgAdmin to work behind proxy with its in
built server. I have used werkzeug fixer -
https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM4755.patch application/octet-stream 1.1 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-09-19 08:58:47 pgAdmin 4 commit: Don't use Python to get the app details from the Make
Previous Message Avin Kavish 2019-09-18 14:21:16 Re: Feedback for pgAdmin app