💾 Archived View for gemini.bunburya.eu › newsgroups › gemini › messages › so0cv6$tj7$1@theuse.news.t… captured on 2023-06-16 at 16:47:27. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
From: Jason Evans <jsevans@mailfence.com>
Subject: suggestion for gemini server
Date: Sun, 28 Nov 2021 17:06:47 -0000 (UTC)
Message-ID: <so0cv6$tj7$1@theuse.news.theuse.net>
Hi all,
I've been running molly-brown for some time and I really like its
flexibility when it comes to handling funky mime types. I've been hosting
a gemini mirror to textfiles.com for a while and lot of these files
random file extensions but they are actually all plain text files. With
molly, I can define mime types like this:
[MimeOverrides]
"atom.xml$" = "application/atom+xml"
"rss.xml$" = "application/rss+xml"
".$" = "text/plain"
".gmi$" = "text/gemini"
".tgz$" = "application/gzip"
".zip$" = "application/zip"
".tar.gz$" = "application/gzip"
That way anything that isn't defined is automatically assumed to be
"text/plain" which works great for me.
I tried using gmnisrv and it has some wonderful features like certificate
generation and the ability to create multiple capsules however, custom
mime types must be managed manually which means that I would probably
need to rename every file in the textfiles collection to .txt or .gmi
which I really don't want to do.
I'm looking for suggestions for a server that can give me all of these
functions together in one place. Thanks!
No related messages found.