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中
感謝羅納德的回覆,讓我檢查並取回給你 –