vendor/bundle/ruby/2.3.0/gems/github-pages-health-check-1.2.0/lib/github-pages-health-check/domain.rb
# Does this non-GitHub-pages domain proxy a GitHub Pages site?
#
# This can be:
#   1. A Cloudflare-owned IP address
#   2. A site that returns GitHub.com server headers, but isn't CNAME'd to a GitHub domain
#   3. A site that returns GitHub.com server headers, but isn't CNAME'd to a GitHub IP
Does this non-GitHub-pages domain proxy a GitHub Pages site.
This can be:
1. A Cloudflare-owned IP address
2. A site that returns GitHub.com server headers, but isn't CNAME'd to a GitHub domain
3. A site that returns GitHub.com server headers, but isn't CNAME'd to a GitHub IP
Does this non - GitHub - pages domain proxy a GitHub Pages site . This can be : 1 . A Cloudflare - owned IP address 2 . A site that returns GitHub . com server headers but isn ' t CNAME ' d to a GitHub domain 3 . A site that returns GitHub . com server headers but isn ' t CNAME ' d to a GitHub IP
def proxied?
        return unless dns?
        return true if cloudflare_ip?
        return false if pointed_to_github_pages_ip? || cname_to_github_user_domain?
        return false if cname_to_pages_dot_github_dot_com? || cname_to_fastly? || fastly_ip?
        served_by_pages?
      end
def proxied? return unless dns? return true if cloudflare_ip? return false if pointed_to_github_pages_ip? || cname_to_github_user_domain? return false if cname_to_pages_dot_github_dot_com? || cname_to_fastly? || fastly_ip? served_by_pages? end
Does this non-GitHub-pages domain proxy a GitHub Pages site?
Does this non - GitHub - pages domain proxy a GitHub Pages site?