Cloudflare's Railgun - Instructions

Instructions

  • Build up an Apache or Nginx web server to serve a simple landing page or site through CloudFlare (location of origin doesn’t matter Digital Ocean, AWS, GoGrid, etc)
  • Make the origin server only available over IPv6
  • Setup Railgun and confirm Railgun is working correctly (hint, you can use rg-diag which is installed with the railgun package)
  • Generate a self-signed elliptic curve cert and use it on your origin server, then force all requests to your origin over SSL with page rules and HSTS.
  • Create a script in the language of your choice (Bash, PHP, Ruby, Python, etc) that will display and compare the HTTP response headers for an HTTP request going through CloudFlare versus going directly to your origin server.

Deliverables

  • URL to the landing page with Railgun active
  • The script and explanation of its usage
  • Write up your experience with the setup and how you imagine a target customer would find the experience
  • Any instructions needed to access deliverables
Colin Murray avatar
About Colin Murray
I am a solutions engineer at Cloudflare. All opinions are my own.
comments powered by Disqus