zhizhi/server/proxy/config
copilot-swe-agent[bot] b2aaeeab88
fix: V2 VPN subscription 404 - nginx path /api/proxy-sub/ → /api/proxy-v2/
Root cause: deploy-brain-proxy.yml generates subscription URLs with
/api/proxy-v2/ path, but nginx config and deploy script incorrectly
used V1 path /api/proxy-sub/, causing 404 on subscription requests.

Changes:
- nginx-brain-proxy-snippet.conf: location /api/proxy-sub/ → /api/proxy-v2/
- deploy-brain-proxy.sh: all inline nginx templates, grep checks,
  perl/sed injections, and health checks updated to /api/proxy-v2/
- Added migration logic to auto-fix existing servers with old path

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/8e4facc2-e5bd-4114-bfd0-ec0d2ca93b6d

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 11:11:49 +00:00
..
nginx-brain-proxy-snippet.conf fix: V2 VPN subscription 404 - nginx path /api/proxy-sub/ → /api/proxy-v2/ 2026-04-05 11:11:49 +00:00
nginx-proxy-snippet.conf D57修复: Nginx反代端口3802→3803 + 大脑服务器自动Nginx配置 2026-04-05 09:00:50 +00:00
xray-config-template.json fix: add cloud firewall diagnostics and ensure UFW port 443 for VPN 2026-04-04 16:36:29 +00:00