version = 1 [site.demo] root = "./content" hosts = ["localhost", "127.0.0.1"] [listener.web] protocol = "http" bind = "127.0.0.1:8080" formats = ["wml", "xhtmlmp", "html"] 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" 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" formats = ["text"] site = "demo"