Fixed
- Reverse Proxy Support (#100) — Added
TRUST_PROXYenvironment variable for deployments behind nginx, Caddy, Traefik, Synology DSM, and other reverse proxies. Fixesexpress-rate-limitValidationError and WebSocket authentication loops caused by untrustedX-Forwarded-Forheaders.- Supports hop counts (
TRUST_PROXY=1), named values (loopback,linklocal), and subnet strings TRUST_PROXY=trueis blocked by default (security hardening — logs warning, falls back to no trust)- Disabled by default — no behavior change for existing deployments
- Documentation added for nginx, Caddy, and Docker Compose configurations
- Supports hop counts (
Security
- Blocked
TRUST_PROXY=trueto prevent accidental trust-all-proxies misconfiguration on public-facing deployments
Docs Updated
CHANGELOG.md— v2.1.1 entryREADME.md— version badge bumpeddocs/DEPLOYMENT.md— reverse proxy guidance (nginx + Caddy)docs/TROUBLESHOOTING.md— rate limit error fixdocs/GETTING-STARTED.md— TRUST_PROXY env var reference
Full Changelog: v2.1.0...v2.1.1
Thanks to @Casenl for reporting this issue! 🎉