How do you enable the "real ip" module in Nginx?

Discussion in 'Installation/Configuration' started by fbarcenas, May 15, 2020.

  1. fbarcenas

    fbarcenas Member

    It's hard to imagine any site that didn't use some sort of CDN.
    My wordpress wordfence plugin has been banning cloudflare ips instead of the real ip trying to bruteforce. I would be nice if we could enable that.
    I tried to search aptitude for a package that would enable it but I could not find one.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There should be no need for that module when using wordfence, check wordfence settings, there must be an option to enable to use the Cloudflare “CF-Connecting-IP” HTTP header to get a visitor IP.
    fbarcenas and ahrasis like this.
  3. fbarcenas

    fbarcenas Member

    Thanks! I didn't realize that it was staring me in the face the entire time.

Share This Page