feat: 添加 Let's Encrypt SSL 证书管理
- 新增独立 certbot 服务项目 - nginx 配置添加 HTTPS 8443 端口监听 - frpc.toml HTTPS 代理指向 nginx:8443 - 支持自动续签并重载 nginx - 共享 Docker volume 传递证书
This commit is contained in:
7
certbot/crontab.example
Normal file
7
certbot/crontab.example
Normal file
@@ -0,0 +1,7 @@
|
||||
# Let's Encrypt 自动续签 cron 配置
|
||||
# 每天凌晨 2 点执行续签检查
|
||||
|
||||
# 编辑 crontab: crontab -e
|
||||
# 添加以下行:
|
||||
|
||||
0 2 * * * cd /home/awei/workspace/common-server-public/certbot && ./renew-cert.sh >> /var/log/certbot-renew.log 2>&1
|
||||
Reference in New Issue
Block a user