We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3ff45 commit 6920959Copy full SHA for 6920959
globals/drop.conf
@@ -9,6 +9,13 @@ if ($request_method !~ ^(GET|HEAD|POST)$ ) { return 444; }
9
#location /.well-known/acme-challenge/ { try_files $uri /dev/null =404; }
10
location ~ ^/.well-known/acme-challenge/* { allow all; }
11
12
+#### Necessary for LEDN ownership validation, other .well-known use (MORE COMPLETE?)
13
+#### from https://stackoverflow.com/a/49324172
14
+#### "I would go with an optimised code: So that all dots are denied except .well-known folder
15
+#location ~ /\.(?!well-known).* {
16
+# deny all;
17
+#}
18
+
19
#### Turn off logging for basic traffic, giving syslog a little relief
20
location = /robots.txt { access_log off; log_not_found off; }
21
location ~ /\. { access_log off; log_not_found off; deny all; }
0 commit comments