From 7d03721445ae547e1e8a0cf500e4c5409e1b1767 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Thu, 22 Sep 2022 18:35:46 -0400 Subject: [PATCH] Return 404 by default --- data/nginx-terminate/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/nginx-terminate/nginx.conf b/data/nginx-terminate/nginx.conf index f3efd13..00a21c7 100644 --- a/data/nginx-terminate/nginx.conf +++ b/data/nginx-terminate/nginx.conf @@ -12,6 +12,10 @@ http { location /.well-known/acme-challenge/ { alias /var/www/certbot/; } + + location / { + return 404; + } } }