آخر عنوان IP يظهر عنوان الـ Reverse Proxy

You only need the last part - inserting set_real_ip_from <CIDR>; to the nginx.conf. The other parts are more complicated to support Cloudflare adding new IPs.