From: Vsevolod Stakhov Date: Thu, 17 Mar 2016 13:14:45 +0000 (+0000) Subject: [Minor] Place default extensions map to the config X-Git-Tag: 1.2.0~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2020bd22fff005ac5ba32dda3b4f848f3027640c;p=rspamd.git [Minor] Place default extensions map to the config --- 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"; + } }