After the lets encrypt certificate is mounted in the container, it is automatically updated with cerbot in the host. The certificate in the container will not be updated.

cerbot is in the host. I mount the certificate applied for by letsencrpyt to the docker container of nginx. After each update of the certificate validity period, the certificate in the container will not take effect. It requires me to restart the container to take effect every time. What"s going on?

Oct.25,2021

Certificate files are generally loaded into memory. So updating the certificate file usually requires reload, such as nginx and apache must reload for the new certificate to take effect.

if your program does not support reload at all (for example, tomcat), can only restart

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd6c94-31020.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd6c94-31020.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?