ISPconfig with reverseproxy

Discussion in 'Installation/Configuration' started by Jiri Benes, Jan 16, 2018.

  1. Jiri Benes

    Jiri Benes New Member

    Hello guys,

    is it possible to run ISPconfig 3 with reverse proxy?

    Thanks

    Regards
    Jiri
     
  2. cwispy

    cwispy Active Member

    Sure is. We do it with apache 2.4.25 and we also rewrite to https at the same time.

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    SSLProxyEngine On
    RequestHeader set Front-End-Https "On"
    ProxyPreserveHost On
    ProxyRequests Off
    ServerName ispcp.domain.name
    ServerAlias controlpanel.ispcp.domain.name
    ProxyPass / https://1.2.3.4:8080/
    ProxyPassReverse / https://1.2.3.4:8080/
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
     
  3. Jiri Benes

    Jiri Benes New Member

    Great! :) and how about nginx?
     
  4. cwispy

    cwispy Active Member

    Sorry, I do not have any experience with nginx. So will need someone else to comment.
     
  5. Jiri Benes

    Jiri Benes New Member

    I mean if I can manage reverse proxy from ISPconfig doesnt matter if revprox is apache or nginx :)
     
  6. cwispy

    cwispy Active Member

    Sorry, yes you can. You can use the Options tab under the domain to enter the details to be added to the config, which is how we add the above settings in apache.
     
  7. Rajesh Kumar Mallah

    Rajesh Kumar Mallah New Member

    Do you want to reverse proxy internal applications on websites hosted on ispconfig
    (cwispy already answered that)
    OR
    you want to reverse proxy the ispconfig application it self ?
     

Share This Page