Remove resolver.conf

This commit is contained in:
Michael 2024-11-06 22:08:03 +00:00
parent 738c04615a
commit a444ad1e29
4 changed files with 3 additions and 6 deletions

View file

@ -64,6 +64,9 @@ http {
# Sets the path, format, and configuration for a buffered log write. # Sets the path, format, and configuration for a buffered log write.
access_log /var/log/nginx/access.log main; access_log /var/log/nginx/access.log main;
# Configure a resolver
resolver 127.0.0.1;
# Includes virtual hosts configs. # Includes virtual hosts configs.
include /etc/nginx/http.d/*; include /etc/nginx/http.d/*;
} }

View file

@ -37,6 +37,3 @@ add_header Strict-Transport-Security "max-age=63072000" always;
# OCSP stapling # OCSP stapling
ssl_stapling on; ssl_stapling on;
ssl_stapling_verify on; ssl_stapling_verify on;
# Include a resolver for OSCP Stapling
include snippets/global/resolver.conf;

View file

@ -25,6 +25,3 @@ location /status-cats-error.html {
location ~ ^/test-status-cats/(?<cat>.*)$ { location ~ ^/test-status-cats/(?<cat>.*)$ {
proxy_pass https://http.cat/$cat/; proxy_pass https://http.cat/$cat/;
} }
# Include a resolver for domain resolution
include snippets/global/resolver.conf;