How to configure Patchstack to work with Cloudflare?

In order for Patchstack to work with Cloudflare, we recommend that you configure the IP address header override option.

For that:

  1. Go to Patchstack App > My Apps > yourdomain.com > Hardening
  2. To the IP Address Header Override input, type HTTP_CF_CONNECTING_IP
  3. Save the settings

This will tell Patchstack to grab the real visitors' IP addresses.