We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 081421c + d7508c0 commit 76ba801Copy full SHA for 76ba801
1 file changed
templates/config/nginx/default.conf.mustache
@@ -146,9 +146,18 @@ server {
146
expires max;
147
}
148
# Security settings for better privacy
149
- # Deny hidden files
150
- location /.well-known {
+ # Allow LetsEncrypt HTTP challenge URL
+ location ^~ /.well-known/acme-challenge/ {
151
+ auth_basic off;
152
allow all;
153
+ try_files $uri =404;
154
+ break;
155
+ }
156
+ # Deny hidden files
157
+ location ~ /\. {
158
+ deny all;
159
+ access_log off;
160
+ log_not_found off;
161
162
163
# Deny backup extensions & log files
0 commit comments