varrrnish
This commit is contained in:
parent
b70926a93c
commit
239df6f79b
@ -1,15 +0,0 @@
|
||||
class varnish-default-vcl {
|
||||
$backend_port = '8080'
|
||||
$assets_age = 86400
|
||||
$no_ttl_time = "10m"
|
||||
|
||||
$healthy_grace_time = "1m"
|
||||
$sick_grace_time = "24h"
|
||||
$probe_interval = "3s"
|
||||
|
||||
file { $varnish::vcl_path:
|
||||
content => template('varnish-default-vcl/default.vcl'),
|
||||
require => [ Build_and_install[$name], Mkdir_p[$config_path] ],
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,9 @@ stop() {
|
||||
fi
|
||||
done
|
||||
|
||||
killall -9 varnishd
|
||||
killall -9 varnishncsa
|
||||
|
||||
echo "done"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user