Nginx certificate reload

Hi all,

Just started using the nginx container as a reverse proxy for SSL access to sonarr, nzbget and transmission. All containers are managed from a single docker-compose file.

I have a central machine that handles all the LetsEncrypt certificate renewals for machines in my internal network (using DNS validation). When this process updates the certficate (stored outside of the container, but available within), do I need to restart nginx?

If so, what’s the best way to do that? Just restart the container using docker-compose restart?

Thanks

Andy

Restarting the container is the preferred method for restarting nginx

Understood, thanks @aptalca.

If the original docker-compose up was done as a normal user, but the docker-compose restart were done as root, would there be any issues in permissions and the like?

Thanks

Andy