docs: HTTPS 启用时增加 80、443 端口放行说明
Made-with: Cursor
This commit is contained in:
parent
bb2373d4f6
commit
ea70cecef1
3
start.sh
3
start.sh
@ -103,6 +103,7 @@ run_deploy_questions() {
|
||||
DEPLOY_HTTPS=false
|
||||
[[ "$https_choice" =~ ^[yY] ]] && DEPLOY_HTTPS=true
|
||||
fi
|
||||
[ "$DEPLOY_HTTPS" = true ] && echo " 启用 HTTPS 需确保防火墙已放行 80、443 端口"
|
||||
fi
|
||||
}
|
||||
|
||||
@ -233,7 +234,7 @@ start_services() {
|
||||
run_https_setup() {
|
||||
if [ "$DEPLOY_HTTPS" = true ] && [ -n "$DEPLOY_DOMAIN" ]; then
|
||||
echo ""
|
||||
echo "🔒 执行 HTTPS 配置..."
|
||||
echo "🔒 执行 HTTPS 配置(请确保服务器已放行 80、443 端口)..."
|
||||
if [ -f "./https.sh" ]; then
|
||||
# https.sh 依赖 easyai-proxy.conf,需使用生成的域名配置文件
|
||||
export EASYAI_PROXY_CONF="${DEPLOY_DOMAIN}.conf"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user