Title: Reverse proxy (Cloudflare)
Last modified: August 31, 2016

---

# Reverse proxy (Cloudflare)

 *  Resolved [TheKolaNN](https://wordpress.org/support/users/thekolann/)
 * (@thekolann)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/)
 * Dear developers,
    I am using reverse proxy in my WP site, and I am seeing rexerse
   proxy IP addresses in simple history log instead of real people IP addresses.
   Would you consider adding a Reverse proxy checkbox in Simple history Settings?
 * [https://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264291)
 * You should be able to see the proxy ip if you click the time of the event. As
   I understand it those IP addresses can be spoofed, so that’s why I don’t show
   them by default.
 *  Thread Starter [TheKolaNN](https://wordpress.org/support/users/thekolann/)
 * (@thekolann)
 * [10 years ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264292)
 * I would prefer to see client IP address not reverse proxies IPs.
 *  [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264298)
 * For Nginx webserver you can use the Module ngx_http_realip_module works especially
   well if you are behind Cloudflare or other reverse proxy.
 * So you either put your origin server ip in a custom conf file loaded by or in
   nginx conf or:
 * For a Cloudflare type setup
 * In a custom folder (include) by nginx we would put (after loading the module):
 * set_real_ip_from 103.21.244.0/22;
    set_real_ip_from 103.22.200.0/22; set_real_ip_from
   103.31.4.0/22; set_real_ip_from 104.16.0.0/12; set_real_ip_from 108.162.192.0/
   18; set_real_ip_from 131.0.72.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from
   162.158.0.0/15; set_real_ip_from 172.64.0.0/13; set_real_ip_from 173.245.48.0/
   20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 190.93.240.0/20; set_real_ip_from
   197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 199.27.128.0/
   21; set_real_ip_from 127.0.0.1/32; real_ip_header CF-Connecting-IP;
 * set_real_ip_from 2400:cb00::/32;
    set_real_ip_from 2606:4700::/32; set_real_ip_from
   2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/
   32; real_ip_header CF-Connecting-IP;
 * [http://nginx.org/en/docs/http/ngx_http_realip_module.html](http://nginx.org/en/docs/http/ngx_http_realip_module.html)
 * In conf file – `include /etc/nginx.custom.d/*.conf;`
 * If that helps.
 * stu
 *  Thread Starter [TheKolaNN](https://wordpress.org/support/users/thekolann/)
 * (@thekolann)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264299)
 * Thank you for your input.
 * I am pretty sure this can be achieved by making this feature available by plugin
   configuration. Many plugins I use has this feature.
 * I am running my site on a virtual server provider, so I cannot install new modules
   to my instance.
 *  [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264311)
 * Correction: NGINX Ships with ngx_http_realip_module by default. On a vps in http
   directive nginx.conf:
 *     ```
       include conf.d/*.conf;
           include /etc/nginx.custom.d/*.conf;
       ```
   
 * …and create a file in nginx.custom.d named anything ending in .conf and set the
   rules.
 * Sorry for the late post.
    stu

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Reverse proxy (Cloudflare)’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

## Tags

 * [reverse proxy](https://wordpress.org/support/topic-tag/reverse-proxy/)

 * 5 replies
 * 3 participants
 * Last reply from: [dblinks](https://wordpress.org/support/users/dblinks/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-cloudflare/#post-7264311)
 * Status: resolved