2026-10-04 19:55:21 +03:00
|
|
|
version = 1
|
|
|
|
|
|
|
|
|
|
[site.demo]
|
|
|
|
|
root = "./content"
|
|
|
|
|
hosts = ["localhost", "127.0.0.1"]
|
|
|
|
|
|
|
|
|
|
[listener.web]
|
|
|
|
|
protocol = "http"
|
|
|
|
|
bind = "127.0.0.1:8080"
|
2026-10-04 21:04:49 +03:00
|
|
|
formats = ["wml", "xhtmlmp", "html"]
|
2026-10-04 19:55:21 +03:00
|
|
|
default_site = "demo"
|
|
|
|
|
|
|
|
|
|
[listener.spartan]
|
|
|
|
|
protocol = "spartan"
|
|
|
|
|
bind = "127.0.0.1:3000"
|
|
|
|
|
formats = ["gemtext"]
|
|
|
|
|
default_site = "demo"
|
|
|
|
|
|
|
|
|
|
[listener.nex]
|
|
|
|
|
protocol = "nex"
|
|
|
|
|
bind = "127.0.0.1:1900"
|
2026-10-04 20:27:29 +03:00
|
|
|
formats = ["text"]
|
2026-10-04 19:55:21 +03:00
|
|
|
site = "demo"
|
2026-10-04 21:20:38 +03:00
|
|
|
|
2026-10-04 22:04:46 +03:00
|
|
|
# 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"
|
|
|
|
|
|
2026-10-04 21:20:38 +03:00
|
|
|
[listener.gopher]
|
|
|
|
|
protocol = "gopher"
|
|
|
|
|
bind = "127.0.0.1:7070"
|
|
|
|
|
formats = ["text"]
|
|
|
|
|
site = "demo"
|