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

12 lines
500 B
Text

# https://docs.sucuri.net/website-firewall/troubleshooting/same-ip-for-all-users/#nginx
# ref: https://docs.sucuri.net/website-firewall/troubleshooting/same-ip-for-all-users/#nginx
# Define header with original client IP
real_ip_header X-Forwarded-For;
# Define trusted Firewall IPs
set_real_ip_from 192.88.134.0/23;
set_real_ip_from 185.93.228.0/22;
set_real_ip_from 66.248.200.0/22;
set_real_ip_from 208.109.0.0/22;
set_real_ip_from 2a02:fe80::/29; # this line can be removed if IPv6 is disabled