|
@@ -251,8 +251,9 @@ server {
|
|
access_log /var/log/nginx/access.log vhost;
|
|
access_log /var/log/nginx/access.log vhost;
|
|
|
|
|
|
# Do not HTTPS redirect Let'sEncrypt ACME challenge
|
|
# Do not HTTPS redirect Let'sEncrypt ACME challenge
|
|
- location /.well-known/acme-challenge/ {
|
|
|
|
|
|
+ location ^~ /.well-known/acme-challenge/ {
|
|
auth_basic off;
|
|
auth_basic off;
|
|
|
|
+ auth_request off;
|
|
allow all;
|
|
allow all;
|
|
root /usr/share/nginx/html;
|
|
root /usr/share/nginx/html;
|
|
try_files $uri =404;
|
|
try_files $uri =404;
|