Re: Wrong mimetype when served from nginx

2015-07-11 Thread Maxim Dounin
Hello! On Fri, Jul 10, 2015 at 08:00:06AM +0200, Cédric Jeanneret wrote: > Hello, > > I have a small issue with my nginx (1.2.1) configuration: > some files are served as "application/octet-stream" while they are > detected as "text/plain" by "mimetype " command. > > File names are just "1", "2

Wrong mimetype when served from nginx

2015-07-09 Thread Cédric Jeanneret
Hello, I have a small issue with my nginx (1.2.1) configuration: some files are served as "application/octet-stream" while they are detected as "text/plain" by "mimetype " command. File names are just "1", "2", and so on. Is there a way to enforce mimetype for those files? I thought about somet