From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin][RM4768] Reverse proxy on non-standard port |
Date: | 2019-09-27 07:59:41 |
Message-ID: | CANxoLDd-+miZqSmPm_LexRo34Fqx5H56sfqSx8a1yRxCf5xifQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Thanks, patch applied.
On Fri, Sep 27, 2019 at 12:17 PM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
> 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"
>
--
*Thanks & Regards*
*Akshay Joshi*
*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2019-09-27 08:15:17 | pgAdmin 4 commit: Fix documentation issue single quote is not allowed i |
Previous Message | Akshay Joshi | 2019-09-27 07:58:58 | pgAdmin 4 commit: pgAdmin4 unable to work behind Nginx reverse proxy ru |