Also how is ClownFlare (CloudFlare) being used? If you're using IP, Clownflare might require you use this depending on how this mess is set-up with this mess
https://developers.cloudflare.com/network/true-client-ip-header/