pgAdmin4 behind HTTPs

From: Stefan Tzeggai <tzeggai(at)empirica-systeme(dot)de>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: pgAdmin4 behind HTTPs
Date: 2017-11-21 20:06:37
Message-ID: 1b4bba2d-910d-3017-bc5d-6b45dcac31d0@empirica-systeme.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

I installed pgAdmin4 2.0 in SERVER-Mode. It listens on Port 5050 by default.

Now I configured Apache2 to proxy external https access to localhost:5050

> ProxyPass / http://localhost:5050/ timeout=600
> ProxyPassReverse / http://localhost:5050/ timeout=600

The proxying works, but after some cliks, e.g. after the login, pgAdmin4
changes the URL to HTTP without SSL. Hich of course results in an error:

> Your browser sent a request that this server could not understand.
> Reason: You're speaking plain HTTP to an SSL-enabled server port.
> Instead use the HTTPS scheme to access this URL, please.

So my question: Is there a way to tell pgAdmin4 that it has an external
URL using https ?

Thanks
Steve

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-11-21 20:09:48 Re: pgAdmin4 behind HTTPs
Previous Message Murtuza Zabuawala 2017-11-18 04:12:13 Re: flask again