Questions tagged [cloudflare]

Cloudflare is a content delivery network and distributed Domain Name Server service aimed at enhancing website performance and speed and providing security.

Cloudflare is a content delivery network Domain Name Server service aimed at enhancing website performance and speed and providing security. It is also known for the internet security services that it distributes.

Wiki article

3109 questions
24
votes
1 answer

Cloudflare redirect subdomain to URL

I would like to redirect one of my subdomains to an outside URL. Example: my xyz.example.com to outsideurl.net. Is it possible with use of Cloudflare services? I have tried to use Page Rules with help of this tutorial, but it seems this tutorial is…
user4725754
22
votes
2 answers

Where does CloudFlare detect web and terminal requests?! On equal terms

My problem is opening sites on CloudFlare in CLI. I do not mean when there is a challenge and I do not want to solve the challenge. Consider this site as an example: https://pegaxy.io When opened for the first time on a newly installed any web…
Nabi K.A.Z.
  • 9,887
  • 6
  • 59
  • 81
22
votes
4 answers

Host a static site single page app in Google Cloud Storage with routes

There are guides and questions all over the place on how to do this, but never really a concrete answer that is satisfactory. Basically, I'm wondering if it's possible to host a static SPA (HTML/CSS/JS) in GCP Cloud Storage. The main caveat of this…
Matt Dodge
  • 10,833
  • 7
  • 38
  • 58
22
votes
1 answer

Can I use AWS route 53 and Cloudflare at the same time?

Currently, I am using Route53 to manage my domains, subdomains etc. But I want to add DDoS protection to my endpoints. So I want to use Cloudflare also. But I couldn't find a way to use two of them at the same time, can I put Cloudflare dos…
21
votes
4 answers

Cloudflare throws 524 an error on my server

Wonder why Cloudflare throws an error on my server which is up? I can verify the server is up by visiting the ip in my browser. I checked system log, apache log, no error found. Btw, I just set the domain on a static site.. I can't figure out how to…
mkSmith
  • 215
  • 1
  • 2
  • 5
21
votes
3 answers

Can I use CloudFlare as a video provider?

I'm creating a website where people can upload and watch videos. I'm expecting 1000 simultaneous viewers at all times (on average). The problem is that all the CDNs I've looked at charges about $0.06/GB. This means that 0,17 MB/s (720p) x 1000 users…
Student of Hogwarts
  • 1,108
  • 3
  • 14
  • 28
19
votes
4 answers

How do I prevent Rails 3.1 from caching static assets to Rails.cache?

I'm using CloudFlare CDN on my Rails 3.1 application. Cloudflare is a CDN that works at the DNS level. On the first hit to a static asset, CloudFlare loads it from your app then caches it in their CDN. Future requests for that asset load from the…
19
votes
1 answer

Configure NGINX + CloudFlare + SSL

SO... I have a node application running on a server on port 8080 and I am trying to enabled it to work over SSL using NGINX and CloudFlare. Note the following... My host is running Ubuntu 16.04 LTS I am currently using CloudFlare's Universal SSL…
Lane
  • 685
  • 2
  • 10
  • 25
19
votes
3 answers

Can CloudFlare perform automatic failover to a different backend?

I am looking for an easy way to fail over to a different DC quickly, does CloudFlare offer anything special in this regards with things like health checks or is it just like a standard DNS service?
henry.oswald
  • 5,304
  • 13
  • 51
  • 73
18
votes
2 answers

How to prevent exposing origin IP address on Cloudflare?

On Cloudflare DNS setting page it state that An A, AAAA, CNAME, or MX record is pointed to your origin server exposing your origin IP address. I have an MX record on my domain pointing to mail.mydomain.com. I believe it is something needed for the…
user1995781
  • 19,085
  • 45
  • 135
  • 236
18
votes
4 answers

Using Cloudflare with Amazon EC2 and load balancers

I am running my website on AWS. I have one load balancer for my two web servers. My load balancer doesn't have a static IP address, it has a domain name. I want my traffic to come only via the load balancer. I am using Cloudflare's DNS instead of…
18
votes
5 answers

Gateway Time-out:The gateway did not receive a timely response from the upstream server

I am sending 300 newsletter at a time with a url, after 2 min it refresh itself again to send next 300 at so on. But I am getting this error: Gateway Time-out The gateway did not receive a timely response from the upstream server or…
Harish Singh
  • 3,359
  • 5
  • 24
  • 39
17
votes
5 answers

Heroku custom domains on Cloudflare: Too many redirects

Objectives Run https://rapid.essbap.org through Cloudflare. This should map to https://ebcc-rrn.herokuapp.com (Rails app) However, I get "too many redirects" pages, e.g. Have done this successfully before on other Heroku apps, using steps…
Daniel May
  • 2,192
  • 5
  • 25
  • 43
16
votes
6 answers

Can't bypass cloudflare with python cloudscraper

I faced with cloudflare issue when I tried to parse the website. I got this code import cloudscraper url = "https://author.today" scraper = cloudscraper.create_scraper() print(scraper.post(url).status_code) This code prints…
Nickolas
  • 283
  • 1
  • 3
  • 7
16
votes
5 answers

let's encrypt vs cloudflare or both?

I've been really confused between cloudflare's ssl and using let's encrypt to have my website become full https. Many sources say to use either or use both. However there is not a very decisive way to figure out whether to use both or just use one…
user805981
  • 9,979
  • 8
  • 44
  • 64