- changed status to resolved
No idea where else to post this. - HTTP Redirect error on connect.
Issue #462
resolved
Hey there, my mail server is on https://mail.greem.me, and it just doesn't load due to an HTTP redirect loop. My VirtualHost is as follows:
<VirtualHost *:443>
ServerName mail.greem.me
ProxyPreserveHost On
SSLEngine On
SSLProxyEngine On
SSLCertificateFile /etc/letsencrypt/live/greem.me-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/greem.me-0001/privkey.pem
ProxyPass / http://172.17.0.2/
ProxyPassReverse / http://172.17.0.2/
</VirtualHost>
<VirtualHost *:80>
ServerName mail.greem.me
Redirect permanent / https://mail.greem.me
</VirtualHost>
VirtualHost on port 80 is just for directing to HTTPS.
During configuration, I specified that port 443 and 80 do NOT be used by poste, because Apache already uses it. Any help with this would be appreciated as I have no idea where else to go.
Comments (2)
-
repo owner -
reporter That worked. Thank you for the swift response!
- Log in to comment
It should be enough to just run container with
-e "HTTPS=OFF"