Earlier quoted context omitted.
CF-Connecting-IP is what we recommend using. See https://support.cloudflare.com/hc/en-us/articles/200170986-H... for details.
Which presumably only works if your site is using Cloudflare? Since you wouldn't be MITMing SSL in order to inject this header?
1- https://blog.cloudflare.com/mmproxy-creative-way-of-preservi...