Advertisement
Guest User

Varnish Pillar

a guest
Oct 15th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.90 KB | None | 0 0
  1. varnish:
  2.  # Overrides map.jinja
  3.   #lookup:
  4.   #  version: xxx
  5.  
  6.   # The files_switch key serves as a selector for alternative directories unde
  7.   # the formula files directory. See TOFS pattern doc for more info.
  8.   #files_switch:
  9.   #  - id
  10.   #  - os_family
  11.  
  12.   # Listen address:port
  13.   listen: ':80'
  14.  
  15.   # List of storage backends
  16.   storages:
  17.    - 'main=malloc,512m'
  18.     - 'secondary=malloc,256m'
  19.  
  20.   # Parameters to be set on start with the -p param=value option
  21.   params:
  22.     default_ttl: 120
  23.     default_grace: 10
  24.     thread_pool_min: 50
  25.     thread_pool_max: 1000
  26.     thread_pool_timeout: 120
  27.  
  28.   # Extra options for varnishd invocation
  29.   extra_options: '-u varnish -g varnish'
  30.  
  31.   # VCL templates and pillar values used in them
  32.   vcl:
  33.     version: '4.0'
  34.     backend_default_host: 127.0.0.1
  35.     backend_default_port: 8080
  36.     files:
  37.      - default.vcl
  38.     files_absent:
  39.      - absent.vcl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement