优化MCP消息转发Nginx配置文件

This commit is contained in:
2025-05-15 12:09:53 +08:00
parent eaba13df5b
commit ccfac882d7
2 changed files with 20 additions and 0 deletions
+6
View File
@@ -40,6 +40,12 @@ else
if [ -f /etc/debian_version ]; then
# Ubuntu/Debian 系统
apt install -y certbot python3-certbot-nginx
# 也可以使用snapd安装
# apt install -y snapd
# # 使用snap安装 certbot
# snap install --classic certbot
# # Prepare the Certbot command
# sudo ln -s /snap/bin/certbot /usr/bin/certbot
elif [ -f /etc/redhat-release ]; then
# CentOS/RHEL 系统
# 首先安装 EPEL 仓库