wordpress-nginx-main/globals/cloudflare.conf
hhftechnologies dd82b3e56c update
2024-09-28 17:48:20 +05:30

9 lines
276 B
Text

# make sure you set up a cron to run update-cloudflare-ip-list.sh regularly
include '/etc/nginx/globals/cloudflare-ip-list.conf';
# use any of the following two options (but not both)
real_ip_header CF-Connecting-IP;
# real_ip_header X-Forwarded-For;
real_ip_recursive on;