Use a smaller size for varnish cache on disk
This commit is contained in:
parent
12081a5fc0
commit
04998bc7f8
|
@ -8,4 +8,4 @@ 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 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
|
||||
|
|
Reference in New Issue