fix: nginx proxy 配置路径从 /www/sites/.../proxy/root.conf 改为 /etc/nginx/sites-enabled/
Some checks failed
Deploy Backend / deploy (push) Has been cancelled
Some checks failed
Deploy Backend / deploy (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user