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
13
votes
2 answers

Get client IP address of a request instead of Cloudflare's IP address

Cloudflare changes the IP addresses of incomming requests because Cloudflare is a middleware between my website and the Internet, a proxy. How should I get the initial IP address of the request, not Cloudflare its IP address. I heard about the…
Michiel
  • 1,713
  • 3
  • 16
  • 34
13
votes
6 answers

Cloudflare - 525 SSL handshake failed

I switched with my Domain to Cloudflare and now I'm trying to use CloudFlare's SSL Feature. I already own a SSL cert from StartSSL so I would be possible to set the settings to 'Full (Strict)' but I don't want to so I turned it to 'Full'. Now I'm…
CreatorBlo
  • 133
  • 1
  • 1
  • 8
13
votes
2 answers

How would I detect all European countries with CloudFlare geolocation

I'm trying to detect whether a user is visiting my website from a European country or not. I'm using the Cloudflare proxy & CDN so have to make use of the headers that they pass on (like so): $country_code = $_SERVER["HTTP_CF_IPCOUNTRY"]; I'm not…
P110
  • 192
  • 2
  • 2
  • 15
13
votes
2 answers

Which CDN solutions support caching with content negotiation?

I'm serving a set of resources through content negotiation. Concretely, any URL can be represented in different formats, depending on the client's Accept header. An example of this can be seen at Facebook: curl -H "Accept: application/json"…
Ruben Verborgh
  • 3,545
  • 2
  • 31
  • 43
12
votes
3 answers

Why can't I go to sign in page to Gitlab.com from Browser?

I went to about.gitlab.com. from there I clicked on sign in. The browser keeps showing: "Checking your browser before accessing gitlab.com.". This has been going on for 10 hours. I have Already tried clearing my cookies and restarting my pc. This…
freeroamer90
  • 379
  • 3
  • 11
12
votes
3 answers

S3 with Cloudflare disallow direct access

I am trying to have Cloudflare to act as CDN for files hosted on S3, in a way that nobody can access the files directly. For example: S3 bucket: cdn.mydomain.com.s3.amazonaws.com CDN (Cloudflare): cdn.mydomain.com What I want is to be able to access…
rlcabral
  • 1,496
  • 15
  • 39
12
votes
6 answers

Prevent cache in CloudFlare

I'm getting started with CloudFlare and I’m using it to build a new project. I’m facing an issue when I make changes: I cannot see my changes in the browser, so I assume the problem here is the cache setting of CloudFlare. I have read this link,…
Tomás Juárez
  • 1,517
  • 3
  • 21
  • 51
12
votes
2 answers

How can I reduce my data transfer cost? Amazon S3 --> Cloudflare --> Visitor

I recently started using Amazon S3 to serve images to my visitors since this will reduce the server load. Now, there is a new problem: Today I looked into my AWS billings. I noticed that I have a huge bill waiting for me - there has been a total of…
Jonas Kaufmann
  • 1,797
  • 3
  • 22
  • 43
12
votes
4 answers

Caching JSON with Cloudflare

I am developing a backend system for my application on Google App Engine. My application and backend server communicating with json. Like http://server.example.com/api/check_status/3838373.json or only…
ecabuk
  • 1,641
  • 1
  • 18
  • 20
11
votes
3 answers

How does Cloudflare differentiate Selenium and Requests traffic?

Context I am currently attempting to build a small-scale bot using Selenium and Requests module in Python. However, the webpage I want to interact with is running behind Cloudflare. My python script is running over Tor using stem module. My traffic…
ku8zi
  • 111
  • 1
  • 4
11
votes
2 answers

"Access denied | used Cloudflare to restrict access" GET request Postman

I am currently testing out GET requests with Postman. I just want to see the kind of information I can get back. Simply plugging in the url for a website works for the most part. However, there is a particular website that is giving me trouble. When…
Sean
  • 592
  • 4
  • 9
  • 19
11
votes
1 answer

CloudFlare and socket.io

I'm using CloudFlare to implement a REST API. I need to add some notifications which are implemented with socket.io on Node.JS. When socket.io uses a live connection to keep client updated it will work because the connection is established between…
Paul Exchange
  • 2,637
  • 3
  • 26
  • 33
11
votes
1 answer

Use CloudFlare to CDN a Google Cloud Storage Bucket

I've heard many good things about Cloudflare, and they have an excellent CDN product that features functionality not found on competitors (HTTP2, IPv6 etc). I have files in a Google Cloud Storage bucket. How to set these files as the origin for a…
simbolo
  • 7,279
  • 6
  • 56
  • 96
11
votes
4 answers

Cloudflare - Ineligible for SSL

I can not use ssl on cloudflare! on Crypto tab, show Ineligible for SSL but my site is on cloudflare and is active.
Milad Ghiravani
  • 1,625
  • 23
  • 43
11
votes
1 answer

How do I get my rails assets to be served by cloudflare instead of my server?

I'm running a rails app on heroku and recently switched to cloudflare for CDN for asset serving. My understanding was that once I use cloudflare, my assets (ie js,css,images) would be served from cloudflare and not from my own server but in my…
Harry Jiang
  • 721
  • 6
  • 16