aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d/mime_types.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-17 13:14:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-17 13:14:45 +0000
commit2020bd22fff005ac5ba32dda3b4f848f3027640c (patch)
treed65ac4760753969c0f21c0578c37c7c5be18dc3b /conf/modules.d/mime_types.conf
parent38c959875926962a3a8089a42005224abf736792 (diff)
downloadrspamd-2020bd22fff005ac5ba32dda3b4f848f3027640c.tar.gz
rspamd-2020bd22fff005ac5ba32dda3b4f848f3027640c.zip
[Minor] Place default extensions map to the config
Diffstat (limited to 'conf/modules.d/mime_types.conf')
-rw-r--r--conf/modules.d/mime_types.conf7
1 files changed, 7 insertions, 0 deletions
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";
+ }
}