Password Reset Link on Server behind Apache Reverse Proxy

Discussion in 'Installation/Configuration' started by brt, Apr 25, 2023.

  1. brt

    brt New Member

    Hi,

    My apache reverse proxy configuration looks like this:

    Code:
    SSLProxyEngine on
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off
    ProxyPass / https://127.0.0.1:8080/
    ProxyPassReverse / https://127.0.0.1:8080/
    ProxyPreserveHost On
    The password reset link still does not work because it contains the port 8080, like: https://myispconfigdomain.com:8080/login...

    I need the link to be: https://myispconfigdomain.com/login...

    For now i commented out the line #86 in /usr/local/ispconfig/interface/web/login/password_reset.php but i am looking for a proper solution which will survive upgrades.

    is there a better solution?
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Currently there is no better solution.
     

Share This Page