From 0a1257b2239701e01ab15353d626cd3bb4cbf313 Mon Sep 17 00:00:00 2001 From: Raine Date: Fri, 20 Oct 2023 03:59:04 +0200 Subject: [PATCH] feat: default resolvers --- servers/skel/docker-compose.d/custom/nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/skel/docker-compose.d/custom/nginx/nginx.conf b/servers/skel/docker-compose.d/custom/nginx/nginx.conf index 5e076aa..2f54d99 100644 --- a/servers/skel/docker-compose.d/custom/nginx/nginx.conf +++ b/servers/skel/docker-compose.d/custom/nginx/nginx.conf @@ -19,6 +19,9 @@ http { '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; + # docker resolver and quad9; + resolver 127.0.0.11 9.9.9.9 ipv6=off; + access_log /var/log/nginx/access.log main; sendfile on;