mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The flag makes the app believe CF-Connecting-IP from every connection, before the peer check and whatever TRUST_PROXY_HOPS says, which is safe only when nothing but Cloudflare can reach the origin. The reverse-proxy page now says so with the ways to get there, the compose comment and both example files carry the same condition, and the variable is in the env manifest. The page's list of peers whose forwarding headers are read now matches the code: loopback, 0.0.0.0/8, private, CGNAT, link-local, unique-local and site-local, the reserved blocks and multicast. Those last two stay trusted, since no internet host can connect from them; a test pins every listed range and the Cloudflare precedence.