diff --git a/wo/cli/templates/locations.mustache b/wo/cli/templates/locations.mustache index dace54f..b637cfc 100644 --- a/wo/cli/templates/locations.mustache +++ b/wo/cli/templates/locations.mustache @@ -35,6 +35,7 @@ location ~ /\.(?!well-known\/) { location /.well-known/acme-challenge/ { alias /var/www/html/.well-known/acme-challenge/; allow all; + auth_basic off; } # Return 403 forbidden for readme.(txt|html) or license.(txt|html) or example.(txt|html) or other common git repository files location ~* "/(^$|readme|license|example|README|LEGALNOTICE|INSTALLATION|CHANGELOG)\.(txt|html|md)" { diff --git a/wo/cli/templates/virtualconf.mustache b/wo/cli/templates/virtualconf.mustache index e0f2f36..396606f 100644 --- a/wo/cli/templates/virtualconf.mustache +++ b/wo/cli/templates/virtualconf.mustache @@ -33,6 +33,7 @@ server { location /.well-known/acme-challenge/ { alias /var/www/html/.well-known/acme-challenge/; allow all; + auth_basic off; } {{/proxy}}