Skip to content
lucasefe edited this page Feb 17, 2012 · 2 revisions

If you are running an app in production mode, and you get the static files with no content, is because you don’t have X-senfile enabled at your web server.

You can do two things:

comment out this line in your production.rb file:

config.action_dispatch.x_sendfile_header = "X-Sendfile"

or configure your web server to use it. :)

Clone this wiki locally