Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is
Дата
Msg-id CAM9w-_mkoGZDFiP2n7Pa7JoL_C_tKQkLAfsCbzS7S98RoG919Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is  (Dave Page <dpage@pgadmin.org>)
Ответы Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi,

On Thu, Sep 19, 2019 at 3:28 PM Dave Page <dpage@pgadmin.org> wrote:
Hi

On Thu, Sep 19, 2019 at 6:29 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
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

Does this work with both X-Scheme and X-Forwarded-Proto headers as discussed?
The proxy fix work for all standard X-Forwarded-* headers. X-Scheme is not used anywhere, X-Forwarded-Proto is more robust.

I assume (as you haven't removed it) that it works in conjunction with the existing reverse proxy code?
Yes it should. 

Thanks!
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin][RM4755] pgAdmin does not work behind reverse proxy ifin built server is used as it is