💾 Archived View for gemini.bunburya.eu › newsgroups › gemini › messages › so0cv6$tj7$1@theuse.news.t… captured on 2023-06-14 at 14:38:58. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

suggestion for gemini server

Message headers

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>

Message content

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!

Related

No related messages found.