I use varnish 4.0, and following these operations,
vi /etc/varnish/default.vcl
# Drop any cookies sent to WordPress.
sub vcl_recv {
    if ((req.url ~! "wp- (login | admin)")) {
        unset req.http.cookie;
    }
}
# Drop any cookies WordPress tries to send back to the client.
sub vcl_backend_response {
    if ((req.url ~! "wp- (login | admin)")) {
        unset beresp.http.set-cookie;
    }
}
I /etc/init.d/varnish restart when executing this command
Got this error message.
Message from VCC-compiler:
Syntax error at
('input' Line 33 Pos 1)
  if (!(req.url ~ "wp-(login|admin)")) {
#-------------------------------------------
Running VCC-compiler failed, exited with 2
VCL compilation failed
* Syntax check failed, not restarting
Soï¼How to solve this problem?
Thanks!
As documentation says: