Nginx - 16.04 ubuntu virtual host- add SSL


#1

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.


#2

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

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

Andrei


#3

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.


#4

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