Incorrectly getting mime-type for flv files

Fernando Perez lists at
Tue May 26 11:32:40 MSD 2009


I use Nginx in front of a Ruby on Rails application. When I upload an
flv file that will be processed by Paperclip, I always get the mime-type
as application/octet-stream although I have a mime.types file included
in nginx' configuration file.

My flv files on disk have a mime-type of application/octet-stream, but
Nginx shouldn't care and when he sees a file coming in he should reset
the mime-type (I guess). Where could the problem come from?

Best regards,
Posted via

More information about the nginx mailing list