# 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