Announcement

Collapse
No announcement yet.

Need Plugin for cloudflare

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need Plugin for cloudflare

    Hi,
    any one know if there a plugin / mod for cloudflare can be integrated with vb4 ?
    Thanks.

    #2
    You don't need a plugin you add your domain to Cloudflare and in your includes/config.php you replace

    Code:
    /* #### REVERSE PROXY IP ####
    If your use a system where the main IP address passed to vBulletin is the address of a proxy server
    and the actual 'real' ip address is passed in another http header then you enter the details here
    Enter your known proxy servers here. You can list multiple trusted IPs separated by a comma.
    You can also use the * wildcard (at the end of a definition only) or use the keyword 'all' to represent any ip address.*/
    //$config['Misc']['proxyiplist'] = '127.0.0.1, 192.168.*, all';
    /* If the real IP is passed in a http header variable you can set the name here; */
    //$config['Misc']['proxyipheader'] = 'HTTP_X_FORWARDED_FOR';
    with

    Code:
    /* #### REVERSE PROXY IP ####
    If your use a system where the main IP address passed to vBulletin is the address of a proxy server
    and the actual 'real' ip address is passed in another http header then you enter the details here
    Enter your known proxy servers here. You can list multiple trusted IPs separated by a comma.
    You can also use the * wildcard (at the end of a definition only) or use the keyword 'all' to represent any ip address.*/
    $config['Misc']['proxyiplist'] = 'all';//127.0.0.1, 192.168.*,
    /* If the real IP is passed in a http header variable you can set the name here; */
    $config['Misc']['proxyipheader'] = 'HTTP_X_FORWARDED_FOR';
    //$config['Misc']['proxyipheader'] = 'CF-Connecting-IP';​

    Comment

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"