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.

Revisions

  1. jeffbeard created this gist Sep 5, 2011.
    8 changes: 8 additions & 0 deletions varnish
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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"