meesteridle

varnishd -- /etc/default/varnish aws-t2.micro-ubuntu

Jun 29th, 2015
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. START=yes
  2.  
  3. NFILES=131072
  4.  
  5. MEMLOCK=82000
  6.  
  7. NPROCS="unlimited"
  8.  
  9. RELOAD_VCL=1
  10.  
  11. VARNISH_VCL_CONF=/etc/varnish/default.vcl
  12.  
  13. VARNISH_LISTEN_ADDRESS=172.31.27.119
  14. VARNISH_LISTEN_PORT=80
  15. VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
  16. VARNISH_ADMIN_LISTEN_PORT=6082
  17. VARNISH_SECRET_FILE=/etc/varnish/secret
  18. VARNISH_MIN_THREADS=50
  19. VARNISH_MAX_THREADS=1000
  20. VARNISH_THREAD_TIMEOUT=120
  21. VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
  22. VARNISH_STORAGE_SIZE=1G
  23. VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
  24. VARNISH_MEMORY_SIZE=1G
  25. VARNISH_MEMORY="malloc,${VARNISH_MEMORY_SIZE}"
  26. VARNISH_TTL=120
  27. DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
  28. -f ${VARNISH_VCL_CONF} \
  29. -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
  30. -t ${VARNISH_TTL} \
  31. -p thread_pool_min=${VARNISH_MIN_THREADS} \
  32. -p thread_pool_max=${VARNISH_MAX_THREADS} \
  33. -p thread_pool_timeout=${VARNISH_THREAD_TIMEOUT} \
  34. -u varnish -g varnish \
  35. -S ${VARNISH_SECRET_FILE} \
  36. -s ${VARNISH_STORAGE}"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×