RubyFlow The Ruby and Rails community linklog

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