notifies :restart, "service[nginx]"
end
-nginx_site "tile-ssl" do
- action :delete
-end
-
nginx_site "tile" do
template "nginx_tile.conf.erb"
variables :caches => tilecaches
Dir.glob("/var/log/nginx/access.log*") do |log|
File.unlink(log)
end
-
-log "restart" do
- message "Restarting caching"
- notifies :restart, "service[squid]"
- notifies :restart, "service[nginx]"
-end