How To Set Up Let’s Encrypt with Nginx Server Blocks on Ubuntu 16.04
In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Ubuntu 16.04 and set up your certificate to renew automatically. This tutorial will use a separate Nginx server block file to maintain the default file as a fallback configuration as intended.