Specifying additional mime types

Hello,
I’m currently including the default table on mime types: include
mime.types;

I would like to add two additional mime types not included in this list,
I should edit the file directly (which I dislike) or can I add another
types {} block in nginx.conf directly and they will be merged?

Thanks.

Posted at Nginx Forum:

On Tue, Nov 30, 2010 at 01:48:59AM -0500, masterkain wrote:

Hello,
I’m currently including the default table on mime types: include
mime.types;

I would like to add two additional mime types not included in this list,
I should edit the file directly (which I dislike) or can I add another
types {} block in nginx.conf directly and they will be merged?

You should add them in mime.types.


Igor S.
http://sysoev.ru/en/

On 11/30/2010 06:43 AM, Igor S. wrote:

On Tue, Nov 30, 2010 at 01:48:59AM -0500, masterkain wrote:

You should add them in mime.types.

Hi Igor,

Can you add: “audio/ogg ogg;” to the list?

Thanks

On Tue, Nov 30, 2010 at 09:54:38AM -0300, Juan Fco. Giordana wrote:

On 11/30/2010 06:43 AM, Igor S. wrote:

On Tue, Nov 30, 2010 at 01:48:59AM -0500, masterkain wrote:

You should add them in mime.types.

Hi Igor,

Can you add: “audio/ogg ogg;” to the list?

Done.


Igor S.
http://sysoev.ru/en/

On 11/30/2010 10:18 AM, Igor S. wrote:

On Tue, Nov 30, 2010 at 09:54:38AM -0300, Juan Fco. Giordana wrote:

Hi Igor,

Can you add: “audio/ogg ogg;” to the list?

Done.

Thanks.