3x-ui/docs/content/docs/zh/operations
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
..
backup-restore.mdx docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
discord-bot.mdx docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
meta.json feat(discord): add Discord notification bot service (#6486) 2026-09-13 14:04:53 +02:00
multi-node.mdx docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
outbounds-routing.mdx feat(xray): edit Lua DNS and routing scripts 2026-10-11 15:37:20 +02:00
reverse-proxy.mdx fix(web): read the client address from the proxy end of forwarded headers 2026-10-24 01:39:23 +02:00
security.mdx docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
telegram-bot.mdx feat(tgbot): access levels and /start account binding (#6518) 2026-09-27 13:33:29 +02:00