Browse Source

Return 404 by default

Jon Chambers 2 years ago
parent
commit
7d03721445
1 changed files with 4 additions and 0 deletions
  1. 4 0
      data/nginx-terminate/nginx.conf

+ 4 - 0
data/nginx-terminate/nginx.conf

@@ -12,6 +12,10 @@ http {
         location /.well-known/acme-challenge/ {
             alias /var/www/certbot/;
         }
+
+        location / {
+            return 404;
+        }
     }
 }