summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/config/conf.d/mime.conf15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/config/conf.d/mime.conf b/doc/config/conf.d/mime.conf
index c4d6ce41..8d8d69c1 100644
--- a/doc/config/conf.d/mime.conf
+++ b/doc/config/conf.d/mime.conf
@@ -8,8 +8,19 @@
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Mimetype_assignDetails
##
-## Use the "Content-Type" extended file attribute to obtain mime type if
-## possible
+## mimetype.xattr-name
+## Set the extended file attribute name used to obtain mime type
+## (must also set mimetype.use-xattr = "enable")
+##
+## Default value is "Content-Type"
+##
+## freedesktop.org Shared MIME-info Database specification suggests
+## user-defined value ("user.mime_type") as name for extended file attribute
+#mimetype.xattr-name = "user.mime_type"
+
+##
+## Use extended attribute named in mimetype.xattr-name (default "Content-Type")
+## to obtain mime type if possible
##
## Disabled by default
##