nginx – /.well-known/acme-challenge/

 

server {
   listen 80;
   server_name domain.com *.domain.com;
   charset utf-8;
       location /.well-known/acme-challenge/ {
       try_files $uri /dev/null =404;
    }
    return 301 https://$host$request_uri;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.