3x-ui/docs/lib
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
..
xray fix(web): read the client address from the proxy end of forwarded headers 2026-10-24 01:39:23 +02:00
cn.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
github-stats.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
i18n-ui.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
i18n.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
layout.shared.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
openapi.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
shared.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00
site-i18n.ts docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513) 2026-09-14 11:53:22 +02:00
source.ts docs: vendor the documentation site into the monorepo 2026-07-07 23:07:14 +02:00