This feature is experimental: expect things to break and documentation to be innacurate and change inadvertantly. Use at your own risks.
  • caching
  • reverse proxy

Varnish Official documentation


devops varnish start
Start Varnish if stopped
devops varnish stop
Stop Varnish if started
devops varnish reload
Reload Varnish, reload the configuration and perform a graceful restart
devops varnish restart
Restart Varnish, reload the configuration (but kills existing connection)


admin_listen_address string
Telnet admin interface listen address, usually only bind localhost IP address for the admin interface.
admin_listen_port integer
Telnet admin interface listen port.
Default: 6082
listen_address string
Blank address means all IPv4 and IPv6 interfaces, otherwise specify a host name, an IPv4 dotted quad.
listen_port integer
Listen port.
Default: 6081
max_threads integer
The maximum number of worker threads to start.
Default: 1000
min_threads integer
The minimum number of worker threads to start.
Default: 1
secret_file string
File containing administration secret.
Default: /etc/varnish/secret
storage_file string
Storage file, only used if storage_type is file.
Default: /var/lib/varnish/$INSTANCE/varnish_storage.bin
storage_size string
Cache size: in bytes, optionally using k / M / G / T suffix.
Default: 256M
storage_type string
Store objects either in memory (malloc), on in a file (file).
Default: malloc
thread_timeout integer
Idle timeout for worker threads.
Default: 120
ttl integer
Default TTL used when the backend does not specify one.
Default: 120
vcl_conf string
Main configuration file.
Default: /etc/varnish/default.vcl