The index file is now configurable

This commit is contained in:
int 80h
2020-05-14 20:59:00 -04:00
parent b5c85a3f70
commit 4ebc2ff8fb
4 changed files with 25 additions and 9 deletions

View File

@@ -10,6 +10,9 @@ hostname = "example.com"
dir = "/path/to/serv"
key = "/path/to/key"
cert = "/path/to/cert"
# index is optional but defaults to index.gemini. The server will serve files
# ending in gemini or gmi.
index = "index.gmi"
# cgi dir is optional
cgi = "/path/to/cgi-bin/"
# cgienv is optional