I use google wifi to fwd the ports. When the Lets encrypt cert expires, I have to run the certbot on each machine. This caused me a few issues and I hit the rate limit a few times.
Is there a way to “share” the certificate across all three machines? Same public IP address
The certificate and private key are files that can be copied from one machine to another. You can automate this with a script that runs scp or rsync or something. The certificate doesn't mention a particular port number and so you can use the same certificate to security services provided on different ports, including services provided on different ports by different machines.
If you only have 3 servers, running certbot renew separately on each server shouldn't really result in hitting the rate limit because each server will only obtain 1 certificate. If you're testing your configuration and issuing many test certificates, you can use the staging server (with --staging) so that the test certificates don't count against your rate limit.
You can also use your nginx server with proxy_pass directives to handle all of the forwarding if you want to use paths instead of port numbers when accessing the services from the Internet. In that case, potentially only the nginx server would need a certificate. However, whatever configuration you choose is valid.
You can also use your nginx server with proxy_pass directives to handle all of the forwarding if you want to use paths instead of port numbers when accessing the services from the Internet. In that case, potentially only the nginx server would need a certificate. However, whatever configuration you choose is valid.
This is possible if they are hosted on different machines? I was unaware of that. It would make this easier.
In my Nginx config for example for Sonarr I have this
Just use the other machine’s IP address instead of 127.0.0.1 This should work great.
Note that if the other machine uses a particular port number as seen from the LAN (other than the default of 80), you have to also specify that port number.