I have properly installed varnish 4. Varnish is on port 80 while apache on port 8080.
After editing /etc/varnish/default.vcl
and inside sub vcl_backend_response
writting to cache static files:
if (bereq.url ~ “(woff|woff2|jpg|jpeg|png|gif|css|js|less)”) {
set beresp.ttl = 3600s;
}
I get Err_Connection_Refused
I don't understand what I have done wrong?