DEV Community

Discussion on: Dockerization: Varnish, Nginx & try to hit the first cache

Collapse
 
rvanlaak profile image
Richard van Laak

Great post! Unfortunately following it for us leads to the following Vagrant error log:

Error:
Message from VCC-compiler:
Expected an action, 'if', '{' or '}'
('input' Line 12 Pos 5)
    setresp.http.V-Cache = "HIT";

----####################----------

Running VCC-compiler failed, exited with 2
VCL compilation failed
Collapse
 
rvanlaak profile image
Richard van Laak

Found out the typos; it should be:

  • set resp instead of setresp
  • unset beresp instead of unsetberesp
  • set beresp instead of setberesp
Collapse
 
vuong profile image
vuong ⛈️

Thanks for catching 😂. I have updated the post 🤗.