2018-12-20 11:23:29 +11:00
|
|
|
local config = {}
|
|
|
|
|
|
|
|
config.path = "/var/gopher" -- the root path of the dir to be served
|
|
|
|
config.hostname = "shadowkat.net" -- the hostname of the server
|
|
|
|
config.port = 70 -- the external port of the server
|
|
|
|
config.bindport = 7000 -- the port to actually bind to
|
|
|
|
config.dirinfo = true -- whether to output some extra info in automatic directory indexes
|
|
|
|
config.timer = 0.1 -- main loop timer
|
2019-02-19 14:21:07 +11:00
|
|
|
config.cgi = true -- whether to enable server-side scripts
|
2018-12-20 11:23:29 +11:00
|
|
|
|
|
|
|
return config
|