Hi,

I didn't think sendfile would work since nginx is running on different machines 
from the rails dynos.

I'm guessing this is still the case, but am unsure

http://stackoverflow.com/questions/2392371/rails-3-x-sendfile-on-heroku

Good luck,
--Keenan



On Thursday, February 21, 2013 at 6:10 PM, Espen Antonsen wrote:

> The reason why I am asking is that I see "X-Accel-Mapping header missing" in 
> my logs (everything works though).
> 
> On Thursday, 21 February 2013 23:36:35 UTC+1, Espen Antonsen wrote:
> > I have seen various recommendations for x_sendfile_header on Heroku. As 
> > Heroku uses Nginx the natural choice would be 
> > config.action_dispatch.x_sendfile_header = "X-Accel-Redirect". But as 
> > Heroku does not support rack sendfile that suggest 
> > config.action_dispatch.x_sendfile_header = nil is the correct setting.
> > 
> > Can any Heroku-staff clarify which setting should be used?
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>  
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com 
> (mailto:heroku+unsubscr...@googlegroups.com)
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to heroku+unsubscr...@googlegroups.com 
> (mailto:heroku+unsubscr...@googlegroups.com).
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to