Force redirect https

Discussion in 'General' started by icecub, Oct 27, 2019.

  1. icecub

    icecub New Member

    For some unknown reason to me, marking "SSL" and "Let's Encrypt SSL" does not force redirect my domain to https. The Let's Encrypt SSL certificate was created perfectly fine and does its job as expected. Also the force redirect worked perfectly fine the first time. But after a server reboot, it was gone. Enabling / Disabling it has no effect, while changing other configurations again works as expected.

    I've checked the vhost apache2 configuration and there are no rules for redirecting in there either. So my question is: How does ISPConfig normally redirect to https so I can apply it manually and just keep an eye on it myself?

    Server info
    Ubuntu 18.04
    ISPConfig Version: 3.1dev
    Installation guide followed: https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/
    Extra software installed: Supervisorctl (for maintaining a PHP websocket script)

    Specific apache2 configurations
    Following apache2 configurations are added for tunneling between ws and wss:
    Code:
    RewriteEngine on
    ProxyRequests Off
    ProxyPreserveHost on
    ProxyPass /myws ws://domain.com:9400
    ProxyPassReverse /myws ws://domain.com:9400
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What force redirect?
    ISPConfig Panel, Website settings in tab Redirect there is setting:
    Code:
    Rewrite HTTP to HTTPS
     

Share This Page