adding config.action_dispatch.x_sendfile_header = ‘X-Accel-Redirect’ to config/production