Hey all, I've got some pretty weird behavior going on with an nginx setup that I've inherited. It's serving pdf downloads and after they have been served the workers seem to cache the content type and the whole site is served as a pdf until nginx is restarted
the environment is using config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' and the code to serve the pdfs is send_file sr.document.file.path, :filename => sr.document.file_name sr.document.file is just a standard file object Anyone seen anything like this before? Joshua -- You received this message because you are subscribed to the Google Groups "WellRailed" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wellrailed?hl=en.
