与Apache域清漆configuration
我在Debian上安装了varnish。 我在http://example.com上有一个在Apache上运行的网站 这是我的/etc/varnish/default vcl 4.0; backend default { .host = "example.com"; .port = "8080"; } 清漆开始,我可以看到网站的内容在http://127.0.0.1:6081/ 响应标题: Pragma: no-cache Date: Tue, 25 Aug 2015 12:29:38 GMT Content-Encoding: gzip Server: Apache/2.4.10 (Ubuntu) Age: 0 X-Powered-By: PHP/5.6.4-4ubuntu6.2 Vary: Accept-Encoding Content-Type: text/html; charset=UTF-8 Via: 1.1 varnish-v4 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 X-Varnish: 229436 Connection: keep-alive Accept-Ranges: bytes […]