Commit Graph

23 Commits

Author SHA1 Message Date
weli 3e78513ea3 admin: proc proxy_pass use literal 127.0.0.1:3004 (fix nginx var+URI 404)
Made-with: Cursor
2026-04-26 21:27:50 +08:00
weli 9ab2ae4753 admin: proxy /api/v1/proc to Rust htyproc (same as v2)
Made-with: Cursor
2026-04-26 21:25:34 +08:00
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 7d47a64c11 feat: switch kc proxy route to clazz endpoint
Align admin gateway routes across environments by replacing /api/v1/kc/ upstream mapping with /api/v1/clazz/ to match current backend path semantics.

Made-with: Cursor
2026-04-26 09:28:47 +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 7a7813199b add kc config 2024-01-21 23:30:47 +08:00
XiaoLi ffab75c78a Add upyun remove 2024-01-03 23:20:53 +08:00
weli 914058c4cc add log 2023-11-06 01:55:53 +08:00
weli 0b594c48c1 add detailed log on moicen config 2023-11-06 01:53:25 +08:00
moicen bd2743e884 fix upt calculate issue 2023-05-07 02:00:58 +08:00
moicen 56b18d4ef7 add compress route 2023-01-19 21:26:10 +08:00
weli 62273abeba add upyun_domain to moicen conf 2022-12-28 23:14:43 +08:00
moicen 627481e41a fix url param read issue, update upyun access token 2022-07-16 23:16:00 +08:00
moicen a730521d5b generate upyun token for access 2022-07-16 03:07:37 +08:00
moicen 8ee4eb11ea split form upload and wx upload, refactor file structure 2022-06-26 14:33:49 +08:00
weli ef205b12c8 fix wx_domain 2022-06-11 22:59:03 +08:00
moicen be7152bad2 update upload file size to 20MB 2022-04-29 20:36:57 +08:00
weli a90735d308 fix path 2022-03-09 02:16:35 +08:00
weli 0a09a0f619 two more apis in moicen 2022-03-09 02:11:58 +08:00
weli db47163e39 increase timeout 2022-03-04 23:11:04 +08:00
moicen eaf72f2268 add always to add_header 2022-02-12 23:49:56 +08:00
moicen 2776e5bac1 update upyun config 2022-02-02 00:07:56 +08:00
moicen a1a3c17a21 split nginx config by domain 2022-02-01 22:38:37 +08:00