On a brand new debian/*ubuntu distro, there are only a couple steps to do in order to make Varnish
act as a proxy do its job in front of apache.
then you need to configure it to listen to the
:80 port, editing
1 2 3 4 5
and telling it to forward requests to apache ( we’re gonna make it listen to the
8090 ), into the
1 2 3 4 5 6 7 8 9
Then it’s time to tell apache it has to listen to a new port, in
Make sure the hosts in your
/etc/apache2/httpd.conf listen to
:8090, then you can start the services:
Now you have varnish responding to all the hosts on the
:80: if you experience some troubles try to go deeper with this extended guide.