QA
- github: https://github.com/zzsure
- blog: https://blog.azbit.cn
- wx: zhzosh
Prerequisites
- ubuntu: 18.04
- git: 2.17.1
- docker-compose: 1.23.2
- nginx: latest
How install Docker-Compose
How install nginx
Installing certbot
- git clone git@github.com:zzsure/deploy.git
- cd certbot
- open renew_cert.sh file and change volume mapping, email, domain name
- sh renew_cert.sh it can generate ssl file
- add "0 0 1 * * cd /root/deploy/certbot; sh renew_cert.sh" to crontab
网友评论