Use on-disk cache for varnish

This commit is contained in:
Alex 2020-06-27 22:45:33 +02:00
parent 1c0e1c432b
commit 92c294fb46
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,6 @@ StartLimitIntervalSec=0
Restart=on-failure
RestartSec=10
CacheDirectory=varnish
ExecStart=
ExecStart=/usr/sbin/varnishd -F -a {{ varnish.frontend.sock }},user={{ varnish.frontend.user }},group={{ varnish.frontend.group }},mode={{ varnish.frontend.mode }},PROXY -p feature=+http2 -j unix,user={{ varnish.jail.user }} -f /etc/varnish/default.vcl -s malloc,512m
ExecStart=/usr/sbin/varnishd -F -a {{ varnish.frontend.sock }},user={{ varnish.frontend.user }},group={{ varnish.frontend.group }},mode={{ varnish.frontend.mode }},PROXY -p feature=+http2 -p tcp_fastopen=on -j unix,user={{ varnish.jail.user }} -f /etc/varnish/default.vcl -s file,/var/cache/varnish/file,4G