# location ~ /.well-known { # allow all; # } # location /.well-known/acme-challenge { # root /var/www/example; # } location ~ /\.well-known\/acme-challenge { allow all; }