Skip to content

Cloudflare

Cloudflare is a large network of servers that can improve the security, performance, and reliability of anything connected to the Internet. This is done by serving content as a reverse proxy for all of your website’s traffic.

Cloudflare screen

After setting up Cloudflare, head to the Global settings, open Miscellaneous → Cloudflare and enable it. This will set up all the necessary options in the backend for everything to function properly.

Cloudflare affects the following features:

By default geolocation uses the IP database to get user’s location. With Cloudflare enabled, geolocation will use the CF-IPCountry header as a data source.

When using Cloudflare, the user’s IP address is masked and replaced with the IP address of the Cloudflare server. With the feature enabled, rate limiting uses the CF-Connecting-IP header instead, so the limit is applied to the real visitor while keeping all of the users private.

If your traffic also goes through Amazon CloudFront, see the CloudFront documentation for how the two features combine.