Last active
October 6, 2016 18:14
-
-
Save brewn/f86251e4967921a9998dc88f5ec9905e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo varnishd -f /etc/varnish/custom.vcl -s malloc,500M -T 127.0.0.1:6082 -a 0.0.0.0:80 -d | |
sudo: unable to resolve host varnish | |
[sudo] password for n: | |
Message from VCC-compiler: | |
Expected an action, 'if', '{' or '}' | |
('Builtin' Line 42 Pos 1) | |
vcl 4.0; | |
###----- | |
Running VCC-compiler failed, exited with 2 | |
VCL compilation failed | |
Line 42: | |
42 return (pass); | |
Leads me to believe it's having trouble with this section: | |
} | |
if (req.url ~ "wp-(admin|login)") { | |
return (pass); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment