37 lines
706 B
TOML
37 lines
706 B
TOML
version = 1
|
|
|
|
[site.demo]
|
|
root = "./content"
|
|
hosts = ["localhost", "127.0.0.1"]
|
|
|
|
[listener.web]
|
|
protocol = "http"
|
|
bind = "0.0.0.0:8080"
|
|
formats = ["wml", "xhtmlmp", "html"]
|
|
default_site = "demo"
|
|
|
|
[listener.spartan]
|
|
protocol = "spartan"
|
|
bind = "0.0.0.0:3000"
|
|
formats = ["gemtext"]
|
|
default_site = "demo"
|
|
|
|
[listener.nex]
|
|
protocol = "nex"
|
|
bind = "0.0.0.0:1900"
|
|
formats = ["text"]
|
|
site = "demo"
|
|
|
|
# Plaintext: a TLS terminator in front of the container owns 1965 and forwards
|
|
# here, as it does when deployed bare.
|
|
[listener.gemini]
|
|
protocol = "gemini"
|
|
bind = "0.0.0.0:1965"
|
|
formats = ["gemtext"]
|
|
default_site = "demo"
|
|
|
|
[listener.gopher]
|
|
protocol = "gopher"
|
|
bind = "0.0.0.0:7070"
|
|
formats = ["text"]
|
|
site = "demo"
|