Skip to content

Instantly share code, notes, and snippets.

@jeffbeard
Created September 5, 2011 16:27
Show Gist options
  • Save jeffbeard/1195393 to your computer and use it in GitHub Desktop.
Save jeffbeard/1195393 to your computer and use it in GitHub Desktop.
varnish config
NFILES=131072
MEMLOCK=82000
INSTANCE=$(uname -n)
DAEMON_OPTS="-a YOUR_IP_ADDR:80 \
-T localhost:6082 \
-f /etc/varnish/wordpress.vcl \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment