Nginx - 16.04 ubuntu virtual host- add SSL

Hello all, I have a Nginx server - Ubuntu 16.04 on Digitalocean with virtual hosts (multiple domains) setup on a same droplet. I want to add Letsencrypt SSL on all of my domains. Is there any easy process available? I already checked this link:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

But it is confusing as it does not mention the process of multiple domains in a same droplet.

from the certbot(new name for the letsencrypt client) manual:

https://certbot.eff.org/docs/using.html#certbot-command-line-options

-d DOMAINS Comma-separated list of domains to obtain a cert for

Andrei

Yep, for example -d example.com,www.example.com,example.net,www.example.net

I prefer the form -d example.com -d www.example.com -d example.net -d www.example.net, which is equivalent.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.