I am using Nginx to serve a website that hosts a .Net application. The
a user needs to download and that triggers installation is a
file, and an MS Internet Information Server associates that with the
type application/x-ms-application. However that file never gets any
Content-Type header. I edited the mime.types configuration file to
that, but Nginx ignores that. When I rename the file to .app, and use a
type definition for that file it works. I also tried various other file
extensions of varying length, and it looks like there is a limit of 10
characters in a file type extenion of Nginx, and if that is exceeded
will be no Content-Type header.
Is my assumption correct? Where is this in the source files? (I know how
compile Nginx). Or any other idea what causes my problem?
Posted at Nginx Forum: