Added config.toml, README and LICENSE

This commit is contained in:
int 80h
2020-04-28 18:49:34 -04:00
parent 6a118ad66a
commit 36036dc716
3 changed files with 45 additions and 0 deletions

17
config.toml Normal file
View File

@@ -0,0 +1,17 @@
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/"
[[server]]
hostname = "example.net"
dir = "/path/to/serv/"
key = "/path/to/key"
cert = "/path/to/cert"