Modified the varnishram var

This commit is contained in:
Justine Pelletreau
2021-09-21 20:05:22 +02:00
parent 7d1176e773
commit df194be1a0
4 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s default,{{ varnishram }}m
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s default,{{ varnishram }}

View File

@ -40,10 +40,6 @@ sub vcl_backend_response {
}
}
sub vcl_hash {
hash_data(req.method);
}
sub vcl_deliver {
# Happens when we have all the pieces we need, and are about to send the
# response to the client.