A tiny “Whats my IP address” - service written in Lua, using the lua-http library. https://wmi.kokolor.es
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.cfg.lua.sample 478B

123456789101112131415161718
  1. local config = {}
  2. -- the host (ip or hostname) on which the service will listen (default: localhost)
  3. config.host = 'localhost'
  4. -- the port on which the service will listen (defaul: 9090)
  5. config.port = 9090
  6. -- the folder where static files are located (default: ./static/)
  7. config.html_root = './html/'
  8. -- the domain, which is shown on the html page (default: localhost)
  9. config.domain = 'wmi.kokolor.es'
  10. -- enable logging (default: false)
  11. config.logging = true
  12. return config