Commit Graph

4 Commits

Author SHA1 Message Date
weli 23ce2eff19 fix(nginx): fix proxy_pass URI rewriting for /api/v2/ts/ location
nginx does not automatically handle URI appending when variables are used
in proxy_pass. Replace variable-based proxy_pass with hardcoded IP + rewrite
rules to correctly map /api/v2/ts/* → /api/v1/ts/* on the Rust htyts backend.

Symptom: all requests to /api/v2/ts/ returned 404 because the variable-based
proxy_pass sent every request to /api/v1/ts/ (root) regardless of path.
2026-04-26 20:48:49 +08:00
weli 0d7dd28f28 feat: /api/v2 ts/proc to Rust htyts:3003 htyproc:3004, admin routes
- ts.conf/proc.conf: v2 locations and huiwing_htyts_rust/htyproc_rust vars
- admin.conf: /api/v2/ts and /api/v2/proc on admin for same-origin tests
- local_macos proc.conf; remove duplicate conf/alchemy
- huiwings ai.conf: coze auth comment lines merged from removed alchemy copy

Made-with: Cursor
2026-03-29 11:37:16 +08:00
moicen eaf72f2268 add always to add_header 2022-02-12 23:49:56 +08:00
moicen a1a3c17a21 split nginx config by domain 2022-02-01 22:38:37 +08:00