Discover Centmin Mod today
Register Now

Cloudflare DNS issue

Discussion in 'Domains, DNS, Email & SSL Certificates' started by dooma, Oct 1, 2018.

  1. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    3:45 AM
    Hello,


    I'm getting the attached error while accessing my website. How can I solve this issue ?

    Thanks
     

    Attached Files:

  2. dooma

    dooma Active Member

    326
    34
    28
    Oct 15, 2016
    Cairo
    Ratings:
    +49
    Local Time:
    3:45 AM
    note: I added wordpress vhost to my new linode server.
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:45 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    that looks to be error specific to your web app not cloudflare ?

    if using cloudflare did you ensure real visitor IPs are recorded properly ?

    see

    so follow the appropriate guide for your web server.

    For my Centmin Mod Nginx users I wrote a specific guide for them including a script to auto generate the latest Cloudflare IPs for the configuration at Nginx Cloudflare & Incapsula (reverse proxy HttpRealIpModule) - CentminMod.com LEMP Nginx web stack for CentOS

    If using Centmin Mod 123.09beta01 or newer branches, the generated Nginx vhost already have setup automated script to pull latest Cloudflare IPs for CSF Firewall whitelisting outlined here. The generated Nginx vhost will have an include file /usr/local/nginx/conf/cloudflare.conf that is prepopulated with Cloudflare IPs pulled in via a cronjob you manually setup as outlined here.
    Code (Text):
      # uncomment cloudflare.conf include if using cloudflare for
      # server and/or vhost site
      include /usr/local/nginx/conf/cloudflare.conf;
    

    cronjob you manually setup once only
    Code (Text):
    23 */36 * * * /usr/local/src/centminmod/tools/csfcf.sh auto >/dev/null 2>&1