ISPConfig 3 + varnish + apache problem

Discussion in 'Installation/Configuration' started by Aayush, May 22, 2020.

  1. Aayush

    Aayush New Member

    I have installed ispconfig 3 with apache on my ubuntu system. Recently I installed varnish which is configured on port 80. Apache2 on port 8080. Also Nginx is used for SSL termination/Proxy pass which is listening on port 443. Whenever I request a URL I gett the 403 forbidden error. But when I stop Nginx and varnish, the site runs without any error. I also have installed lets encrypt for https. Can anyone help me with the problem ?
  2. Aayush

    Aayush New Member

    I have changed the following in vhost master templates and copied the host master template to conf-custom folder :
    <VirtualHost {tmpl_var name='ip_address'}:8080> ,

    apache is listening on port 8080
    varnish on port 80 and
    Nginx on port 443
  3. Steini86

    Steini86 Active Member

    Look in your error.log file, usually there is a more verbose error message.
    So you want users to connect via https to nginx (for that you have a manual letsencrypt setup), which is a proxy to varnish which caches the sites delivered from apache via http on port 8080?
    That is a very complex setup, if you can't even read your logfiles?!
    Aayush likes this.
  4. Aayush

    Aayush New Member


    Its now redirecting me to the index page when ever i browse I have change the virtual host port from 80 to 8080 on all the .vhost files. The error log file only shows (IP address):80 connected

Share This Page