The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CloudFlare no work!

Discussion in 'General Discussion' started by cshellspecs, Jan 21, 2013.

  1. cshellspecs

    cshellspecs Registered

    Joined:
    Jan 21, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I keep getting the CF ips when i have this setup under the premaininclude for apache: (running nginx as a reverse proxy. using nginxcp.com)

    Code:
    LoadModule rpaf_module modules/mod_rpaf-2.0.so
    
    RPAFenable On
    # Enable reverse proxy add forward
    
    RPAFproxy_ips 127.0.0.1 108.61.14.115 108.61.14.116 108.61.14.117 108.61.14.118 108.61.43.50 108.61.43.51 108.61.43.52 108.61.43.53 108.61.43.54
    
    RPAFsethostname On
    # let rpaf update vhost settings allowing to have
    # the same hostnames as in the “actual” configuration for the
    # forwarding apache installation
    
    RPAFheader X-Real-IP
    #RPAFheader X-Forwarded-For
    # Allows you to change which header we have mod_rpaf looking for
    # when trying to find the ip the that is forwarding our requests
    
     
  2. cshellspecs

    cshellspecs Registered

    Joined:
    Jan 21, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I also have the following to nginx as proxy.inc

    also added this under http in nginx.conf

     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might find this thread at webhostingtalk helpful:
    /http://www.webhostingtalk.com/showthread.php?t=1150198

    Cloud Flare and Nginx are not products cPanel supports.
     
  4. fightforfreedom

    Joined:
    Jan 21, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    noticed this issue myself. the ips dont forward correctly with cloudflare.
     
  5. fightforfreedom

    Joined:
    Jan 21, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    anyknow know why?
     
  6. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You will probably get a better answer if you ask CloudFlare directly. Their support appears to be available here:

    https://support.cloudflare.com/home

    CloudFlare is not a cPanel product and not affiliated with cPanel, and the segment of our forum audience that is specifically familiar with CloudFlare is going to be relatively small compared to the segment that is familiar with cPanel in general.
     
Loading...

Share This Page