If you host your blog yourself, you will need some commands from time to time. To avoid having to google it every time, I created this overview that serves several purposes. It can be used whether you Nginx self compiled or installed a ready-made package.
Install SSL certificate with certbot:
certbot --nginx -d example.com -d www.example.com
Test Nginx configuration:
nginx -t or service nginx configtest