Create separate server blocks for each "same certificate" group of domains, as in: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
$ sudo update-alternatives --config python
and select "2.7"
check with
$ python -V
$ sudo certbot certonly -a webroot --webroot-path=/var/www/html -d newsubdomain.duckdns.org
Check files were created in
$ sudo ls -l /etc/letsencrypt/live/newsubdomain.duckdns.org
$ sudo nano /etc/nginx/snippets/ssl-newsubdomain.duckdns.org.conf
with contents:
ssl_certificate /etc/letsencrypt/live/newsubdomain.duckdns.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/newsubdomain.duckdns.org/privkey.pem;