随笔分类 - varnish
摘要:varnish4.1 配置文件default.vcl
阅读全文
摘要:yum install automake autoconf ncurses-devel libxslt groff pkgconfig python-docutils readline-devel -yyum install gcc gcc-c++ make openssl-devel pcre-d
阅读全文
摘要:backend fdfs_g1_s1 { .host = "192.168.20.151"; .port = "8080"; .probe = { .url = "/"; .timeout = 1s; .interval = 10s; .window = 5; .threshold = 2; }}
阅读全文
摘要:varnish 隐藏方法: 修改default.vcl配置文件。 找到或添加 vcl_deliver 子程序,代码如下: 1 2 3 4 5 sub vcl_deliver { unset resp.http.Via; //varnish 默认显示版本信息 unset resp.http.X-Var
阅读全文