Use a smaller size for varnish cache on disk

This commit is contained in:
Alex 2020-08-09 11:57:59 +02:00
parent 12081a5fc0
commit 04998bc7f8
Signed by: caskd
GPG Key ID: F92BA85F61F4C173

View File

@ -8,4 +8,4 @@ RestartSec=10
CacheDirectory=varnish CacheDirectory=varnish
ExecStart= ExecStart=
ExecStart=/usr/sbin/varnishd -F -a {{ varnish.frontend.sock }},user={{ varnish.frontend.user }},group={{ varnish.frontend.group }},mode={{ varnish.frontend.mode }},PROXY -p default_ttl=1800 -p default_grace=60 -p default_keep=120 -p feature=+http2 -p tcp_fastopen=on -j unix,user={{ varnish.jail.user }} -f /etc/varnish/default.vcl -s file,/var/cache/varnish/file,10G ExecStart=/usr/sbin/varnishd -F -a {{ varnish.frontend.sock }},user={{ varnish.frontend.user }},group={{ varnish.frontend.group }},mode={{ varnish.frontend.mode }},PROXY -p default_ttl=300 -p default_grace=240 -p default_keep=120 -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