chore: 本机路径迁到 ~/Documents/ipass,修正 ngxbuild 多余的 build/ 段

conf/nginx.conf 的 dev root/alias 与 tests/run.sh 的 NGINX_BIN/NGINX_BUILD_DIR
从 Desktop/workspace/iPass 迁到 Documents/ipass;ngxbuild 在仓顶层,
原写法 build/ngxbuild 指向不存在的路径,默认启动会找不到 nginx 二进制。
This commit is contained in:
admin committed 2026-11-04 10:43:05 +08:00
1 parent 359a67b657
commit fea806eb33
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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;
}
}
+3 -3
View File
@@ -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:优先隔离的托管运行时,其次系统的