Advertisement
Guest User

daniel_p

a guest
Nov 10th, 2007
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.62 KB | None | 0 0
  1. # Main configuration file. You probably want to change it :)
  2. VARNISH_VCL_CONF=/etc/varnish/pound.vcl
  3.  
  4. # Default address and port to bind to
  5. # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
  6. # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
  7. VARNISH_LISTEN_ADDRESS=external_ip
  8. VARNISH_LISTEN_PORT=80
  9.  
  10. # Telnet admin interface listen address and port
  11. VARNISH_ADMIN_LISTEN_ADDRESS=local_ip
  12. VARNISH_ADMIN_LISTEN_PORT=6082
  13.  
  14. # The minimum number of worker threads to start
  15. VARNISH_MIN_THREADS=10
  16.  
  17. # The Maximum number of worker threads to start
  18. VARNISH_MAX_THREADS=1000
  19.  
  20. # Idle timeout for worker threads
  21. VARNISH_THREAD_TIMEOUT=120
  22.  
  23. # Home dir for this varnish instance
  24. VARNISH_HOMEDIR=/var/lib/varnish
  25.  
  26. # Cache file location
  27. VARNISH_STORAGE_FILE=/var/lib/varnish/$INSTANCE/varnish_storage.bin
  28.  
  29. # Cache file size: in bytes, optionally using k / M / G / T suffix,
  30. # or in percentage of available disk space using the % suffix.
  31. VARNISH_STORAGE_SIZE=1G
  32.  
  33. # Backend storage specification
  34. VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
  35.  
  36. # Default TTL used when the backend does not specify one
  37. VARNISH_TTL=10
  38.  
  39. # DAEMON_OPTS is used by the init script.  If you add or remove options, make
  40. # sure you update this section, too.
  41. DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
  42.             -f ${VARNISH_VCL_CONF} \
  43.             -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
  44.             -t ${VARNISH_TTL} \
  45.             -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
  46.             -s ${VARNISH_STORAGE}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement