定时自动更新网站SSL证书
在服务器添加下面脚本文件12345678910111213141516171819202122232425#!/bin/bash# 定义颜色RED=$(tput setaf 1) #红GREEN=$(tput setaf 2) # 绿YELLOW=$(tput setaf 3) # 黄BLUE=$(tput setaf 4) # 蓝PINK=$(tput setaf 5) # 粉红RES=$(tput sgr0) # 清除颜色echo -e "\n${RED}$(date +"%Y-%m-%d %H:%M:%S")开始执行SSL更新脚本${RES}\n"echo -e "\n${YELLOW}$(date +"%Y-%m-%d %H:%M:%S")停止nginx服务${RES}\n"sudo nginx -s stopecho -e "\n${YELLOW}$(date...