fix: nginx proxy 配置路径从 /www/sites/.../proxy/root.conf 改为 /etc/nginx/sites-enabled/
Some checks failed
Deploy Backend / deploy (push) Has been cancelled

This commit is contained in:
2026-07-13 18:36:00 +08:00
parent ba00fcb1c6
commit 0fa9c9c71c
2 changed files with 3 additions and 3 deletions

View File

@@ -110,9 +110,9 @@ check_service_file() {
get_proxy_conf() {
if [ "${APP_ENV}" = "development" ]; then
echo "/www/sites/dev.xmclassmate.top/proxy/root.conf"
echo "/etc/nginx/sites-enabled/dev.xmclassmate.top"
else
echo "/www/sites/xmclassmate.top/proxy/root.conf"
echo "/etc/nginx/sites-enabled/xmclassmate.top"
fi
}

View File

@@ -12,7 +12,7 @@ PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
ENV_FILE="$PROJECT_ROOT/.env"
# ---------- 配置 ----------
ROOT_CONF="/www/sites/xmclassmate.top/proxy/root.conf"
ROOT_CONF="/etc/nginx/sites-enabled/xmclassmate.top"
NGINX_SSL_CONF="/www/sites/xmclassmate.top/ssl/fullchain.pem"
SSH_HOST="deploy@47.109.203.92"