nginx: Add rule to pass through acme-challenge

This commit is contained in:
Matthew Wild 2021-01-22 13:00:27 +00:00
parent 4aae1a8851
commit 7e2cdb57b1
1 changed files with 5 additions and 0 deletions

View File

@ -12,4 +12,9 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto http;
}
location ^~ /.well-known/acme-challenge {
allow all;
alias /var/www/html/.well-known/acme-challenge;
}
}