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