ansible-roles/varnish/templates/override.conf.varnish7.j2

19 lines
655 B
Django/Jinja

# {{ ansible_managed }}
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd \
-j {{ varnish_jail }} \
{{ varnish_addresses | map('regex_replace', '^(.*)$', '-a \\1') | list | join(' ') }} \
-P %t/%N/varnishd.pid \
-T {{ varnish_management_address }} \
-f {{ varnish_config_file }} \
-S {{ varnish_secret_file }} \
-s {{ varnish_storage }} \
-p feature=+http2 \
-p thread_pools={{ varnish_thread_pools }} \
-p thread_pool_add_delay={{ varnish_thread_pool_add_delay }} \
-p thread_pool_min={{ varnish_thread_pool_min }} \
-p thread_pool_max={{ varnish_thread_pool_max }} \
{{ varnish_additional_options }}