ISPConfig via reverse proxy

Discussion in 'General' started by nelchael81, Sep 27, 2024.

  1. nelchael81

    nelchael81 Member

    I am trying to configure a reverse proxy to access ISPConfig, but it doesn't seem to work.
    I would like to use Cloudflare's SSL certificates, or alternatively, I will install Let's Encrypt certificates on the proxy server.
    The sites installed on ISPConfig are working correctly with the reverse proxy.
    Here is the configuration file:

    <VirtualHost *:80>
    ServerName ispconfig.domain.tld
    ProxyRequests Off
    ProxyPreserveHost Off
    ProxyPass / https://192.168.0.7:8080/
    ProxyPassReverse / https://192.168.0.7:8080/
    SSLProxyEngine on
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    RequestHeader set X-Forwarded-Proto "https"
    RequestHeader set X-Forwarded-Host "ispconfig.domain.tld"
    ErrorLog ${APACHE_LOG_DIR}/ispconfig-error.log
    CustomLog ${APACHE_LOG_DIR}/ispconfig-access.log combined

    </VirtualHost>
     
  2. nelchael81

    nelchael81 Member

    Problem solved, the DNS were incorrect.
     
  3. nelchael81

    nelchael81 Member

    If you have any suggestions on how to improve the virtual host parameters, they are welcome.
     

Share This Page