Real user IPs from Cloudflare

How do can we implement the guidelines from https://support.cloudflare.com/hc/en-us/articles/200170786-How-do-I-restore-original-visitor-IP-with-Nginx-

in easyengine v4?

update /opt/easyengine/sites/example.com/config/nginx/nginx.conf like following:

    set_real_ip_from      0.0.0.0/0;
    real_ip_header  CF-Connecting-IP;

Lifesaver! Cheers @dhsathiya

This should be in the handbook with the implementation being in the
/opt/easyengine/sites/example.com/config/nginx/custom/user.conf

And the command to restart the nginx container.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.