RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Accelerated Rails Downloads with NGINX

Rails has a send_file method that supports the NGINX X-Accel-Redirect header for accelerated downloads, but getting it work is a bit tricky. In this tutorial, I explain how send_file works, the steps involved in configuring NGINX, and how to test it.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in