From: | Stefan Tzeggai <tzeggai(at)empirica-systeme(dot)de> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgAdmin4 behind HTTPs |
Date: | 2017-11-22 08:49:01 |
Message-ID: | 8074aed9-06a1-3990-41de-e968aa9a7a86@empirica-systeme.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi
Am 21.11.2017 um 21:09 schrieb Dave Page:
>
>
>> On 21 Nov 2017, at 20:06, Stefan Tzeggai <tzeggai(at)empirica-systeme(dot)de> wrote:
>>
>> 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
>>
>>
>
> Can you pinpoint what clicks cause this? I haven’t seen the problem and have a server running this way.
Actually it starts with the login. I have the HTTPS running on this port
554. I click the following links:
https://alfonx.dyndns-ip.com:554/login
OR
https://alfonx.dyndns-ip.com:554/login?next=%2Fbrowser%2F
Bith both links I get the login page, but after I logged in I end up at:
http://alfonx.dyndns-ip.com:554/ <- NO HTTPS anymore :-(
Greetings
Steve
--
empirica-systeme GmbH
Stefan Tzeggai
Brunsstr. 31
72074 Tübingen
email tzeggai(at)empirica-systeme(dot)de
phone +49 7071 6392922
mobile +49 176 40 38 9559
"Wer nichts zu verbergen hat, braucht auch keine Hose!"
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2017-11-22 13:02:18 | Re: pgAdmin4 behind HTTPs |
Previous Message | Dave Page | 2017-11-21 20:09:48 | Re: pgAdmin4 behind HTTPs |