ipx trusts [web] trusted_header from Caddy's address, and Caddy stripped only the two Cf-Access-* names from requests not from TUNNEL_PEER. With trusted_header set to anything else (X-Remote-User for another proxy), a request through ipx-web carried it to ipx as Caddy's and was believed: anyone could sign in as anyone. TRUSTED_HEADER, defaulting to Cloudflare's name, is stripped the same way. Production uses Cloudflare's header and sets nothing, so it behaves as before. caddy adapt shows the delete list with and without. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.9 KiB
4.9 KiB