3x-ui/docs/content/docs/zh
MHSanaei d50c419e28 fix(web): read the client address from the proxy end of forwarded headers
getRemoteIp took a trusted proxy's X-Real-IP first, otherwise the leftmost
X-Forwarded-For entry. A proxy that forwards a client-sent X-Real-IP
unchanged (Caddy, HAProxy) or appends to X-Forwarded-For leaves both values
to the client. X-Forwarded-For is now read from the right, skipping trusted
proxies. X-Real-IP is believed only when it agrees with that hop or stands
alone, and a disagreement falls back to the proxy's own address.

The documented Caddyfile and the docs reverse-proxy generator now overwrite
X-Real-IP with the address Caddy saw.
2026-10-24 01:39:23 +02:00
..
config feat(xray): update xray-core to v26.10.21 and adapt panel 2026-10-22 17:10:11 +02:00
guide docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
help docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
operations fix(web): read the client address from the proxy end of forwarded headers 2026-10-24 01:39:23 +02:00
reference fix(nodetoken): stop refusing every node-token key file on Windows 2026-09-27 15:55:42 +02:00
index.mdx docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
meta.json docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00