Tiny gopher daemon written in Lua.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12 rindas
461B

  1. local config = {}
  2. config.path = "/var/gopher" -- the root path of the dir to be served
  3. config.hostname = "shadowkat.net" -- the hostname of the server
  4. config.port = 70 -- the external port of the server
  5. config.bindport = 7000 -- the port to actually bind to
  6. config.dirinfo = true -- whether to output some extra info in automatic directory indexes
  7. config.timer = 0.1 -- main loop timer
  8. config.cgi = true -- whether to enable server-side scripts
  9. return config