aboutsummaryrefslogtreecommitdiff
path: root/letsencrypt
diff options
context:
space:
mode:
Diffstat (limited to 'letsencrypt')
-rw-r--r--letsencrypt4
1 files changed, 0 insertions, 4 deletions
diff --git a/letsencrypt b/letsencrypt
index 9e2c06b..b829df6 100644
--- a/letsencrypt
+++ b/letsencrypt
@@ -5,10 +5,6 @@ location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /var/www/letsencrypt;
}
-
-# Hide /acme-challenge subdirectory and return 404 on all requests.
-# It is somewhat more secure than letting Nginx return 403.
-# Ending slash is important!
location = /.well-known/acme-challenge/ {
return 404;
}