找了一些nginx自动化ssl证书的方式, 使用docker的方式部署。
1. openresty结合lua脚本实现的docker 容器:https://hub.docker.com/r/valian/docker-nginx-auto-ssl/
2. 使用certbot结合cron,写入定时任务的方式:https://guttikonda-pardhu.medium.com/ssl-auto-renew-inside-nginx-docker-container-fd0fda1df544
优先采用的当然是第1种方式啦!
1. openresty结合lua脚本实现的docker 容器:https://hub.docker.com/r/valian/docker-nginx-auto-ssl/
2. 使用certbot结合cron,写入定时任务的方式:https://guttikonda-pardhu.medium.com/ssl-auto-renew-inside-nginx-docker-container-fd0fda1df544
优先采用的当然是第1种方式啦!