How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating) Virtual hosts Let's say you want to host domains first.com and second.com. Create folders for their files:
Let's Encrypt for Nginx on Ubuntu 17.10, 18.04 with wildcards Guide info: we're setting up mydomain.com, *.mydomain.com HTML is served from /var/www/mydomain Challenges are served from /var/www/letsencrypt. As of this writing, SSL Labs gives it an A+ Took info from here and here on wilcard certs. Auto-renewal