Skip to content

Instantly share code, notes, and snippets.

@allardhoeve
Created February 16, 2016 11:59
Show Gist options
  • Save allardhoeve/39fd0d7fcc402e50ae5b to your computer and use it in GitHub Desktop.
Save allardhoeve/39fd0d7fcc402e50ae5b to your computer and use it in GitHub Desktop.
/etc/default/varnish
# Configuration file for varnish
#
# This file is stored in ansible
START=yes
NFILES=131072
MEMLOCK=82000
DAEMON_OPTS="-a :6081 \
-p thread_pool_add_delay=2 \
-p thread_pools=2 \
-p thread_pool_min=25 \
-p thread_pool_max=2000 \
-p first_byte_timeout=300 \
-p cli_buffer=65536 \
-p syslog_cli_traffic=off \
-T 127.0.0.1:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-p vcc_allow_inline_c=on \
-p feature=+esi_ignore_other_elements \
-s malloc,659m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment