2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
varnish_version: 4.0
|
|
|
|
varnish_repo: True
|
|
|
|
varnish_repo_requirements:
|
|
|
|
- apt-transport-https
|
|
|
|
varnish_repo_url: "https://repo.varnish-cache.org/debian/ wheezy varnish-{{ varnish_version }}"
|
|
|
|
varnish_pkg_name: varnish
|
|
|
|
varnish_pkg_state: present
|
|
|
|
varnish_enabled: True
|
|
|
|
|
|
|
|
|
|
|
|
varnish_listen_port: 6810
|
|
|
|
varnish_static_c_timeout: 240s
|
|
|
|
varnish_static_first_byte_timeout: 360s
|
|
|
|
varnish_static_between_bytes_timeout: 360s
|
2015-05-31 19:35:38 +02:00
|
|
|
varnish_min_threads: 10
|
|
|
|
varnish_max_threads: 1000
|
2015-05-28 11:32:57 +02:00
|
|
|
# We are using 3000 in production
|
|
|
|
varnish_static_max_connections: 200
|
|
|
|
varnish_storage_file: /var/lib/varnish/varnish_storage.bin
|
|
|
|
# We are using 12288M in production
|
|
|
|
varnish_storage_size: 1G
|
|
|
|
# Expressed in MBs. We do not use it right now
|
|
|
|
varnish_ram_cache_size: 512
|
|
|
|
# We are using 48000 in production
|
|
|
|
varnish_ttl: 120
|
|
|
|
varnish_user: varnish
|
|
|
|
varnish_group: varnish
|
|
|
|
varnish_purge_whitelist:
|
|
|
|
- 127.0.0.1
|