[pgAdmin][RM4768] Reverse proxy on non-standard port

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin][RM4768] Reverse proxy on non-standard port
Дата
Msg-id CAM9w-_nsTA0hT7imVnq89A=d-+bBQgNySEaiEowvv2oa8tKgNA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][RM4768] Reverse proxy on non-standard port  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список 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"
Вложения

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: There is no option to Copy data with headers from Que
Следующее
От: Akshay Joshi
Дата:
Сообщение: Re: [pgAdmin4][Patch] - RM 3009 - Right click to copy from data grid, optionally with headers.