Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Main configuration file. You probably want to change it :)
- VARNISH_VCL_CONF=/etc/varnish/pound.vcl
- # Default address and port to bind to
- # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
- # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
- VARNISH_LISTEN_ADDRESS=external_ip
- VARNISH_LISTEN_PORT=80
- # Telnet admin interface listen address and port
- VARNISH_ADMIN_LISTEN_ADDRESS=local_ip
- VARNISH_ADMIN_LISTEN_PORT=6082
- # The minimum number of worker threads to start
- VARNISH_MIN_THREADS=10
- # The Maximum number of worker threads to start
- VARNISH_MAX_THREADS=1000
- # Idle timeout for worker threads
- VARNISH_THREAD_TIMEOUT=120
- # Home dir for this varnish instance
- VARNISH_HOMEDIR=/var/lib/varnish
- # Cache file location
- VARNISH_STORAGE_FILE=/var/lib/varnish/$INSTANCE/varnish_storage.bin
- # Cache file size: in bytes, optionally using k / M / G / T suffix,
- # or in percentage of available disk space using the % suffix.
- VARNISH_STORAGE_SIZE=1G
- # Backend storage specification
- VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
- # Default TTL used when the backend does not specify one
- VARNISH_TTL=10
- # DAEMON_OPTS is used by the init script. If you add or remove options, make
- # sure you update this section, too.
- DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
- -f ${VARNISH_VCL_CONF} \
- -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
- -t ${VARNISH_TTL} \
- -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
- -s ${VARNISH_STORAGE}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement