From fea806eb33c6dd7e952676095dc08161cadf4e0e Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 4 Nov 2026 10:43:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9C=AC=E6=9C=BA=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E8=BF=81=E5=88=B0=20~/Documents/ipass=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20ngxbuild=20=E5=A4=9A=E4=BD=99=E7=9A=84=20build/=20?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit conf/nginx.conf 的 dev root/alias 与 tests/run.sh 的 NGINX_BIN/NGINX_BUILD_DIR 从 Desktop/workspace/iPass 迁到 Documents/ipass;ngxbuild 在仓顶层, 原写法 build/ngxbuild 指向不存在的路径,默认启动会找不到 nginx 二进制。 --- conf/nginx.conf | 4 ++-- tests/run.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6506d33..60ab77b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -353,7 +353,7 @@ http { # dev 用法:bash scripts/collect-plugin-dist.sh 后再启动 nginx。 # ⚠️ 裸机/容器部署需把下方两处路径换成 ASSEMBLY_DIR 对应目录 # (sso 仓 21c0f6f 同构,容器化收口见 task 3.9)。 - root /Users/xs/Desktop/workspace/ipass/ipass-ssw/build/shell; + root /Users/xs/Documents/ipass/ipass-ssw/build/shell; index index.html; location = / { @@ -452,7 +452,7 @@ http { # (Ruling 16,同 ipass-sso 21c0f6f 修复)。 # ⚠️ 此处用了绝对路径,生产环境需替换为容器内路径或用 docker volume 挂载。 location /static/plugins/ { - alias /Users/xs/Desktop/workspace/ipass/ipass-ssw/build/static-plugins/; + alias /Users/xs/Documents/ipass/ipass-ssw/build/static-plugins/; autoindex off; } } diff --git a/tests/run.sh b/tests/run.sh index b6ef7a4..db19058 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -6,7 +6,7 @@ # bash tests/run.sh gateway # 只跑域名网关(102 条断言) # bash tests/run.sh llm # 只跑 LLM 代理 # -# 前置:本机 nginx 已编译好(默认 /Users/xs/Desktop/workspace/iPass/build/ngxbuild/nginx-1.30.4/objs/nginx), +# 前置:本机 nginx 已编译好(默认 /Users/xs/Documents/ipass/ngxbuild/nginx-1.30.4/objs/nginx), # Rust 模块由本脚本自动 cargo build。 # 可覆盖:NGINX_BIN / NGINX_BUILD_DIR / PY # @@ -19,8 +19,8 @@ set -uo pipefail HERE=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) REPO=$(cd "$HERE/.." && pwd) -NGINX_BIN=${NGINX_BIN:-/Users/xs/Desktop/workspace/iPass/build/ngxbuild/nginx-1.30.4/objs/nginx} -NGINX_BUILD_DIR=${NGINX_BUILD_DIR:-/Users/xs/Desktop/workspace/iPass/build/ngxbuild/nginx-1.30.4/objs} +NGINX_BIN=${NGINX_BIN:-/Users/xs/Documents/ipass/ngxbuild/nginx-1.30.4/objs/nginx} +NGINX_BUILD_DIR=${NGINX_BUILD_DIR:-/Users/xs/Documents/ipass/ngxbuild/nginx-1.30.4/objs} MODULE="$REPO/rust/target/debug/libipass_gateway.dylib" # python3:优先隔离的托管运行时,其次系统的