diff options
author | Omar Polo <op@omarpolo.com> | 2022-04-08 15:36:59 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-04-08 15:36:59 +0000 |
commit | 93cab6dc784ac671f7d536deb0a16b9abcfdf420 (patch) | |
tree | 911135d3574c60e837452e96738663cf18436191 /gmid.conf.5 | |
parent | 6d362b355629b136ab2192a64b3deb1c3d28d99b (diff) |
document the implicit mapping for text/gemini
and remove the explicit mapping from the documentation and test files.
Diffstat (limited to 'gmid.conf.5')
-rw-r--r-- | gmid.conf.5 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gmid.conf.5 b/gmid.conf.5 index e8515be..1a5dc2a 100644 --- a/gmid.conf.5 +++ b/gmid.conf.5 @@ -532,7 +532,7 @@ By default .Nm gmid uses the following mapping if no .Ic types -block is used: +block is defined: .Bl -tag -offset indent -width 15m -compact .It application/pdf pdf @@ -553,6 +553,16 @@ diff patch .It text/xml xml .El +.Pp +As an exception, +.Nm gmid +uses the MIME type +.Ar text/gemini +for file extensions +.Ar gemini +or +.Ar gmi +if no mapping was found. .Sh EXAMPLES The following is an example of a possible configuration for a site that enables only TLSv1.3, adds the MIME types mapping from @@ -564,8 +574,6 @@ ipv6 on # enable ipv6 protocols "tlsv1.3" types { - text/gemini gemini gmi - include "/usr/share/misc/mime.types" } |