Merge pull request #254 from tersor/master

Enable Letsencrypt installation on sites that use basic auth
This commit is contained in:
VirtuBox
2020-02-12 18:30:05 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -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)" {

View File

@@ -33,6 +33,7 @@ server {
location /.well-known/acme-challenge/ {
alias /var/www/html/.well-known/acme-challenge/;
allow all;
auth_basic off;
}
{{/proxy}}