| From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
|---|---|
| To: | pgadmin-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | pgAdmin 4 commit: pgAdmin4 unable to work behind Nginx reverse proxy ru |
| Date: | 2019-09-27 07:58:58 |
| Message-ID: | E1iDl9W-0004DB-Fm@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
pgAdmin4 unable to work behind Nginx reverse proxy running on a non-standard port.
Werkzeug middleware allows us to set the number of trusted ports and few other params
behind the proxy. By default values are set to zero.
Added 'X-Forwarded-*' configuration options and set the default value of the port to 1 to work with non-standard port.
Fixes #4768
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=faf80628305c249a0d534b13268791d03d2b6710
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Modified Files
--------------
docs/en_US/container_deployment.rst | 21 +++++++++++++++++++++
docs/en_US/release_notes_4_14.rst | 1 +
web/config.py | 15 +++++++++++++++
web/pgAdmin4.py | 8 +++++++-
4 files changed, 44 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Akshay Joshi | 2019-09-27 07:59:41 | Re: [pgAdmin][RM4768] Reverse proxy on non-standard port |
| Previous Message | Aditya Toshniwal | 2019-09-27 07:03:39 | Re: [pgAdmin][RM4769] pgAdmin Query Tool Won’t open on IE |