1 2 3 4 5 6
location ^~ /.well-known/acme-challenge/ { allow all; root /usr/share/nginx/html/letsencrypt; default_type "text/plain"; try_files $uri =404; }