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"
RM4768.patch
Description: Binary data