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: