How install certbot with docker-

2019-11-25  本文已影响0人  zhzosh

QA

  1. github: https://github.com/zzsure
  2. blog: https://blog.azbit.cn
  3. wx: zhzosh

Prerequisites

  1. ubuntu: 18.04
  2. git: 2.17.1
  3. docker-compose: 1.23.2
  4. nginx: latest

How install Docker-Compose
How install nginx

Installing certbot

  1. git clone git@github.com:zzsure/deploy.git
  2. cd certbot
  3. open renew_cert.sh file and change volume mapping, email, domain name
  4. sh renew_cert.sh it can generate ssl file
  5. add "0 0 1 * * cd /root/deploy/certbot; sh renew_cert.sh" to crontab
上一篇下一篇

猜你喜欢

热点阅读