precompile before deploy to heroku
use X-Accel-Redirect header for nginx for heroku