1
이전 Varnish 구성을 버전 4.0으로 가져 오려고합니다.'beresp.ttl': Varnish 4.0의 'vcl_hit'메서드에서 설정할 수 없습니다.
sub vcl_hit {
if (req.method == "PURGE") {
set beresp.ttl = 0s;
return (synth(200, "Purged."));
}
}
오류 나는 점점 오전 :
Message from VCC-compiler:
'beresp.ttl': cannot be set in method 'vcl_hit'.
At: ('input' Line 135 Pos 15)
set beresp.ttl = 0s;
--------------##########------
Running VCC-compiler failed, exited with 2
그래서 어떻게 그런를 업데이트하는 방법은 무엇입니까?
그 URL은 이제 깨진 것 같습니다. 이게 작동합니다 - https://varnish-cache.org/docs/4.0/whats-new/upgrading.html –
@AlexVolkov 네 말이 맞지만 새 것을 찾을 수 없습니다. – Stony