Use ISPConfig as Reverse proxy

Discussion in 'Installation/Configuration' started by Dentop, Feb 1, 2018.

  1. Dentop

    Dentop New Member

    Hey!

    Is it possible for us to use our ISPConfig3 server as reverse proxy, we have a single webserver setup, with ISPConfig 3, but want to create a website(domain) and just forward it to another server as we would with reverse proxy in a firewall.

    We have tried setting various rules in the website settings:
    Under the "Redirect" tab:
    Rewrite HTTP to HTTPS is enabled
    Under the "Options" tab:
    Apache Directives:
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>

    SSLProxyEngine On
    ProxyRequests On
    ProxyPreserveHost On
    ProxyPass /webmail/ !
    ProxyPass / https:// XXX . XXX . XXX :443/
    ProxyPassReverse / https:// domain.com

    It works fine for us in the same local network, but from the outsite it does not. When we connect to the domain from the inside it translates to the local IP in the address field.

    Any help is much appreciated.
     
    Last edited: Feb 1, 2018
  2. Ghostdare

    Ghostdare Member

    Those are my Apache directives on one site and work also from inside and outside

    ProxyPreserveHost On
    ProxyPass / http://172.16.1.230/
    ProxyPassReverse / http://172.16.1.230/
    <Location />
    Order deny,allow
    Allow from all
    </Location>

    I do not know nothing about <Proxy *> and </Proxy>
     

Share This Page