From 2020bd22fff005ac5ba32dda3b4f848f3027640c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 17 Mar 2016 13:14:45 +0000 Subject: [PATCH] [Minor] Place default extensions map to the config --- conf/modules.d/mime_types.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf index c42ea9e76..71d90e37e 100644 --- a/conf/modules.d/mime_types.conf +++ b/conf/modules.d/mime_types.conf @@ -18,4 +18,11 @@ mime_types { .include(try=true,priority=1) "$LOCAL_CONFDIR/local.d/mime_types.conf" .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/mime_types.conf" file = "${CONFDIR}/mime_types.inc"; + + # Match specific extensions to specific content types + extension_map = { + html = "text/html"; + txt = "text/plain"; + pdf = "application/pdf"; + } } -- 2.39.5