pgAdmin4 behind HTTPs - Mailing list pgadmin-support

From Stefan Tzeggai
Subject pgAdmin4 behind HTTPs
Date
Msg-id 1b4bba2d-910d-3017-bc5d-6b45dcac31d0@empirica-systeme.de
Whole thread Raw
Responses Re: pgAdmin4 behind HTTPs  (Dave Page <dpage@pgadmin.org>)
List 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



pgadmin-support by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: flask again
Next
From: Dave Page
Date:
Subject: Re: pgAdmin4 behind HTTPs