From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | [pgAdmin][RM4768] Reverse proxy on non-standard port |
Date: | 2019-09-27 06:46:42 |
Message-ID: | CAM9w-_nsTA0hT7imVnq89A=d-+bBQgNySEaiEowvv2oa8tKgNA@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 run behind reverse proxy on a non
standard port.
The middleware -
https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#werkzeug.middleware.proxy_fix.ProxyFix
allows us to set the number of trusted ports (and few other params) behind
the proxy. By default it is zero.
With this patch, user can set these params using pgAdmin config.
I have set the default value for port as 1, which will allow to run behind
non-standard port.
I have added the documentation under reverse proxy section.
Kindly review.
--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment | Content-Type | Size |
---|---|---|
RM4768.patch | application/octet-stream | 3.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2019-09-27 06:47:28 | Re: [pgAdmin4][Patch] - RM 3009 - Right click to copy from data grid, optionally with headers. |
Previous Message | Akshay Joshi | 2019-09-27 06:45:56 | pgAdmin 4 commit: There is no option to Copy data with headers from Que |