sub vcl_deliver {
if (resp.http.x-analysis) {
- set resp.http.date = now;
+ set resp.http.Date = now;
+ unset resp.http.X-Varnish;
+ unset resp.http.Via;
+ unset resp.http.Age;
+ unset resp.http.X-Powered-By;
}
unset resp.http.x-analysis;
}
}
if (beresp.http.content-type ~ "json") {
set beresp.http.x-analysis = 1;
- ban ( "obj.http.x-analysis == 1 && obj.http.x-remoteglot-last-modified != " + beresp.http.x-remoteglot-last-modified );
+ ban ( "obj.http.x-analysis == 1 && obj.http.x-rglm != " + beresp.http.x-rglm );
}
return (deliver);
}