How to keep nginx server blocks recognizable by certbot

If you handle the ACME challenge requests in HTTP, it won't matter what you do in HTTPS.

For that, you need a location block for /.well-known/acme-challenge/.

3 Likes