tet
This commit is contained in:
@@ -271,10 +271,6 @@ _install_pc_nginx_proxy() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ ! -f /app/pc/dist/index.html ]]; then
|
||||
warn " /app/pc/dist/index.html 不存在;域名首页会不可用。请先执行: ./deploy-test/dt.sh pc-build"
|
||||
fi
|
||||
|
||||
if ! _has nginx; then
|
||||
if _has apt-get; then
|
||||
apt-get update -y
|
||||
@@ -317,7 +313,7 @@ _install_pc_nginx_proxy() {
|
||||
info " 本机 Nginx 仅监听 TCP 80;curl -sS -H 'Host: ${proxy_domain}' http://127.0.0.1/nginx-health 应返回 ok"
|
||||
info " 外部推荐入口 https://${proxy_domain} 应由 LB/CDN/其它网关终止 HTTPS 后转发到本机 :80"
|
||||
info " 建议 .env.deploy-test 设置 PC_BACKEND_ORIGIN=https://${proxy_domain}"
|
||||
info " PC 静态根目录: /app/pc/dist(请先执行 ./deploy-test/dt.sh pc-build)"
|
||||
info " PC 前端入口: Nginx :80 → 127.0.0.1:5173(请先执行 ./deploy-test/07-start-frontend.sh pc)"
|
||||
info " 浏览器打开 https://${proxy_domain}/"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user