0
还是回到排除我从我的清漆缓存排除这样的URLURL经由清漆
if (req.url ~ "^/folder_name/") {
return (pass);
}
,但仍当我访问卷曲-I http://ip/folder_name我看到下面的响应
HTTP/1.1 301 Moved Permanently
Date: Mon, 04 Jul 2016 08:48:46 GMT
Server: Apache/2.2.15 (CentOS)
Location: http://ip/folder_name/
Content-Length: 319
Content-Type: text/html; charset=iso-8859-1
X-Varnish: 294958
Age: 0
Via: 1.1 varnish-v4
Connection: keep-alive
灿任何人请告诉我我做错了什么,我需要排除 “所有以/ folder_name开头的URL”被缓存在varnisg中
感谢罗纳德的回复,让我检查并取回给你 –