CGI Everywhere

This commit is contained in:
int 80h
2020-05-23 14:33:01 -04:00
parent 8ebe1becf1
commit 56384f35d0
4 changed files with 28 additions and 6 deletions

View File

@@ -13,7 +13,10 @@ 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 is optional bool
cgi = true
# cgipath is optional and only checked if cgi is true. It restricts cgi to only
# this directory.
cgi = "/path/to/cgi-bin/"
# cgienv is optional
cgienv = { "GIT_PROJECT_ROOT" = "/srv/git" }