更新https配置

  556  sudo certbot renew
  557  ls
  558  cd /etc/nginx/
  559  ls
  560  cat nginx.conf
  561  sudo nginx -t
  562  sudo service nginx restart
  563  ps -ef|grep nginx

用certbot来自动续期ssl证书

0 0 1 * * /usr/bin/certbot renew --force-renewal
定时每天检查,如果要过期则自动延期。
« Back to Home

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment