]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/templates/default/nginx.conf.erb
Use systemd-resolved stub resolver for nginx resolver
[chef.git] / cookbooks / nginx / templates / default / nginx.conf.erb
index a3f6b241181d74bff40632564f228d204665ed65..5e09d846b049f2a93f0eed902c6ca49dc5fb682e 100644 (file)
@@ -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;
     resolver_timeout 5s;
 
     <% if node['nginx']['cache']['fastcgi']['enable'] -%>