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:优先隔离的托管运行时,其次系统的