access_restriction.prefer_cf_connecting_ip
Background
Determines if the IP address passed via the Cloudflare CF-Connecting-IP
header should be used for
checking access restrictions.
Setting the key
Set this configuration key in the results page (preferred) or search package configuration.
Use the configuration key editor to add or edit the access_restriction.prefer_cf_connecting_ip
key, and set the value. This can be set to any valid Boolean
value.
Examples
If search requests for your results page are received via CloudFlare then CF-Connecting-IP
contains
the original IP of the browser, and it is that header if present which is used for access restriction
access_restriction.prefer_cf_connecting_ip=true