Hi! What's the best way to set up certbot when Nginx (and everything else) is running inside docker container on a docker swarm configuration? Would I need to run certbot in a container on the same network? I tried setting it up manually since the guide mentions:
Most users should use the instructions at certbot.eff.org. You should only use Docker if you are sure you know what you are doing and have a good reason to do so.
But on doing so and running
sudo certbot --nginx I just get this error:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.")