feat: serve gemini behind a tls terminator

This commit is contained in:
randogoth 2026-10-04 22:04:46 +03:00
parent dc2114a4d2
commit c29364d8e0
8 changed files with 395 additions and 39 deletions

View file

@ -22,6 +22,14 @@ bind = "127.0.0.1:1900"
formats = ["text"]
site = "demo"
# Plaintext: a TLS terminator would own 1965 and forward here. Poke it with
# printf 'gemini://localhost/\r\n' | nc localhost 1965
[listener.gemini]
protocol = "gemini"
bind = "127.0.0.1:1965"
formats = ["gemtext"]
default_site = "demo"
[listener.gopher]
protocol = "gopher"
bind = "127.0.0.1:7070"