23 lines
526 B
TOML
23 lines
526 B
TOML
port = 1965
|
|
# use "::" for ipv6 and ipv4 or "0.0.0.0" for ipv4 only
|
|
host = "::"
|
|
|
|
[[server]]
|
|
hostname = "example.com"
|
|
dir = "/path/to/serv"
|
|
key = "/path/to/key"
|
|
cert = "/path/to/cert"
|
|
# cgi dir is optional
|
|
cgi = "/path/to/cgi-bin/"
|
|
# usrdir is optional. it'll look in /home/~usr/public_gemini
|
|
usrdir = true
|
|
# proxy is optional
|
|
# path is what comes after the hostname e.g. example.com/path
|
|
proxy { path = "localhost:1966" }
|
|
|
|
[[server]]
|
|
hostname = "example.net"
|
|
dir = "/path/to/serv/"
|
|
key = "/path/to/key"
|
|
cert = "/path/to/cert"
|