Keep X-Forwarded-For as an active default so the snippet is copy-paste safe; TRUSTED_PROXY_COUNT=1 relies on the proxy rewriting XFF, and a commented-out line is easy to miss.
Keep X-Forwarded-For as an active default so the snippet is copy-paste safe; TRUSTED_PROXY_COUNT=1 relies on the proxy rewriting XFF, and a commented-out line is easy to miss.