Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
swanriver.dev AND swanriversystems.com
I ran this command: sudo certbot --nginx
It produced this output:
it worked great, no problems. I was prompted with a query asking if I had multiple domains, so provided both names: blog.swanriver.dev and www.swanriversystems.com
A single server block was created in the nginx.conf for both hosts.
I was hoping to manage these separately, giving each a different document root.
I tried to split these out, but nginx refused to bind them both to the same port. I realize this is partly an nginx config question, but since certbot wrote out the configuration file, it seems like it’s also a certbot question.
My web server is (include version): nginx/1.16.1
The operating system my web server runs on is (include version): CentOS 7
My hosting provider, if applicable, is: Kamatera
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.39.0
Went back to the original certbot-authored config file and simply broke out the SSL server into two blocks, server1 and server2, with separate letsencrypt key files for each server. Also had to use the ipv6only option once.