diff --git a/nginx.conf b/nginx.conf index 4125c52..0ad0686 100644 --- a/nginx.conf +++ b/nginx.conf @@ -64,6 +64,9 @@ http { # Sets the path, format, and configuration for a buffered log write. access_log /var/log/nginx/access.log main; + # Configure a resolver + resolver 127.0.0.1; + # Includes virtual hosts configs. include /etc/nginx/http.d/*; } diff --git a/snippets/global/common-ssl.conf b/snippets/global/common-ssl.conf index ff54e5c..73c0b3d 100644 --- a/snippets/global/common-ssl.conf +++ b/snippets/global/common-ssl.conf @@ -37,6 +37,3 @@ add_header Strict-Transport-Security "max-age=63072000" always; # OCSP stapling ssl_stapling on; ssl_stapling_verify on; - -# Include a resolver for OSCP Stapling -include snippets/global/resolver.conf; \ No newline at end of file diff --git a/snippets/global/errors/http-cat-error-pages.conf b/snippets/global/errors/http-cat-error-pages.conf index 2f87072..dac5e1a 100644 --- a/snippets/global/errors/http-cat-error-pages.conf +++ b/snippets/global/errors/http-cat-error-pages.conf @@ -25,6 +25,3 @@ location /status-cats-error.html { location ~ ^/test-status-cats/(?.*)$ { proxy_pass https://http.cat/$cat/; } - -# Include a resolver for domain resolution -include snippets/global/resolver.conf; \ No newline at end of file diff --git a/snippets/global/resolver.conf b/snippets/global/resolver.conf deleted file mode 100644 index e69de29..0000000