nomadro/apps/admin/deploy/_vip_track_assets/track-api.conf
Eric 3940a4ed3b Ship VIP wechat user CRUD and in-shell user-list nav.
Enrich vip-track ntfy/avatar lookup, add wechat-users API CRUD, and mount admin user-list inside the SPA shell instead of a fullscreen back-button overlay.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 09:29:32 +08:00

23 lines
754 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# VIP track sidecar — isolate from Next (no vip restart)
location = /api/track {
proxy_pass http://127.0.0.1:4011;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 2s;
proxy_read_timeout 5s;
}
# 微信用户列表 CRUD(需 ops token)
location ^~ /api/wechat-users {
proxy_pass http://127.0.0.1:4011;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Authorization $http_authorization;
proxy_connect_timeout 3s;
proxy_read_timeout 20s;
}