💾 Archived View for bbs.geminispace.org › s › Gemini › 18356 captured on 2024-08-19 at 00:54:35. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-07-09)
-=-=-=-=-=-=-
mediocregopher.com/posts/mediocre-caddy-plugins-gemtext.gmi
I developed a Caddy plugin for rendering gemtext files to HTML, which is useful for those of us wanting to serve our capsules over both protocols without introducing some middle service to do the translation. The post has more links and details, but I figured I'd drop it here in case it might be useful to anyone.
Jul 06 · 6 weeks ago · 👍 norayr, hyperreal, kebokyo
👻 mediocregopher [OP...] · Jul 09 at 21:59:
This is separate from a gemini capsule, it is only serving gemtext files over HTTP(s), after first translating them to HTML.
The idea is that you could point your gemini capsule server (gmid, molly brown, whatever) _and_ caddy to the same directory of gemtext files, and have them serve both.
One day I may extend Caddy to also act as a gemini server, but I would have it use self-signed certs for that.