Open Abreto opened 4 years ago
Rerference: https://trojan-gfw.github.io/trojan/usage
docker kill -s "SIGUSR1" <trojan_container_id>
docker ps | grep trojangfw/trojan | awk '{print $1}' | xargs docker kill -s "SIGUSR1"
crontab
0 5 1 * * docker ps | grep trojangfw/trojan | awk '{print $1}' | xargs docker kill -s "SIGUSR1"
Certificates issued from Let's Encrypt need to be reissued every three months. We use caddy to play a role of "certbot".
Three months passed. We found that caddy correctly replaced the outdated certificates, but trojan didn't reload them, leaving the old one be used.
Let's fix it.