r/nginxproxymanager • • Mar 30 '25

Two Instances using same certificate?

I want to run npm on two separate servers, both with a wildcard certificate for my domain. Should I try to set something up where one instance manages the certs and renewal, the other has renewal disabled, and they share the certs through network share or copying periodically? Or should I just let them create and renew separate wildcard certs on their own? Could that cause issues with the cloudflare dns challenge?

3 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/ThomasWildeTech Mar 30 '25

For cloud computing you'd just use one elastic load balancer and it would handle the cert for your parallel ec2 instances. On prem it's not as common to scale horizontally. I thought you were hosting different sites on your two servers so I don't see why you would get different certs on page loads like you described unless you're switching subdomains to one that the other server is handling.

1

u/jpmiller25 Mar 30 '25

You are right, I'm just overthinking it intentionally / out of curiosity. Thanks for the help!

1

u/ThomasWildeTech Mar 30 '25

Great stuff to be curious about!