service "nginx" do
action [:enable] # Do not start the service as config may be broken from failed chef run
supports :status => true, :restart => true, :reload => true
- subscribes :restart, "template[/etc/nginx/nginx.conf]", :immediately
+ subscribes :restart, "template[/etc/nginx/nginx.conf]"
end
munin_plugin_conf "nginx" do
service "squid" do
action [:enable, :start]
subscribes :restart, "systemd_service[squid]"
- subscribes :restart, "template[/etc/squid/squid.conf]", :immediately
+ subscribes :restart, "template[/etc/squid/squid.conf]"
subscribes :reload, "template[/etc/resolv.conf]"
end
listen 80 deferred backlog=16384 reuseport fastopen=2048 default_server;
listen 443 ssl deferred backlog=16384 reuseport fastopen=2048 http2 default_server;
# IPv6
- # listen [::]:80 deferred backlog=16384 reuseport fastopen=2048 default_server;
- # listen [::]:443 ssl deferred backlog=16384 reuseport fastopen=2048 http2 default_server;
+ listen [::]:80 deferred backlog=16384 reuseport fastopen=2048 default_server;
+ listen [::]:443 ssl deferred backlog=16384 reuseport fastopen=2048 http2 default_server;
server_name localhost;
proxy_buffers 8 64k;