在清漆configuration文件中,我把我的公共地址内acl。 我仍然无法清除清漆caching。 它显示了403错误。 我想远程清除清漆。我只想从我的IP清除清漆。 请帮我怎么设置acl。
你可以看看这个教程远程清除清漆caching
sub vcl_recv { if (req.method == "PURGE") { # If not allowed then a error 405 is returned if (! req.http.x-forwarded-for || req.http.x-forwarded-for !~ "1.2.3.4") { return(synth(405, "This forwarded IP is not allowed to send PURGE requests.")); } return (purge); } }