X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6c318b6fe4264a277fa130b5a25cf5e6c99236cc..226773e8e4b1b7e0141c45e0040fa2cd4141282a:/cookbooks/nginx/templates/default/nginx.conf.erb diff --git a/cookbooks/nginx/templates/default/nginx.conf.erb b/cookbooks/nginx/templates/default/nginx.conf.erb index a3f6b2411..0d2387b2e 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -47,7 +47,7 @@ http { ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; ssl_dhparam /etc/ssl/certs/dhparam.pem; - resolver <%= @resolvers.join(" ") %>; + resolver 127.0.0.53 ipv6=off; resolver_timeout 5s; <% if node['nginx']['cache']['fastcgi']['enable'] -%> @@ -57,7 +57,7 @@ http { proxy_cache_path <%= node['nginx']['cache']['proxy']['directory'] %> levels=2:2:2 use_temp_path=off keys_zone=<%= node['nginx']['cache']['proxy']['keys_zone'] %> inactive=<%= node['nginx']['cache']['proxy']['inactive'] %> max_size=<%= node['nginx']['cache']['proxy']['max_size'] %>; <% end -%> - # Internal site for munin monitoring + # Internal site for stats monitoring server { listen 127.0.0.1:8050; server_name localhost;