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 example.com 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 ?
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
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?!
Its now redirecting me to the index page when ever i browse example.com. I have change the virtual host port from 80 to 8080 on all the .vhost files. The error log file only shows example.com (IP address):80 connected