diff options
| author | John Turner <jturner.usa@gmail.com> | 2026-03-01 17:34:34 -0500 |
|---|---|---|
| committer | John Turner <jturner.usa@gmail.com> | 2026-03-01 17:34:34 -0500 |
| commit | 3c4208abd325d317c7524ba0dc3b701edfa9ebf8 (patch) | |
| tree | 197a3d46fcad3ed8d7f3b3d0d0c0fc3f79e3a204 /config.lua | |
| parent | 06476ea44ff27bd9b4af2aa5bcf715fe9034db9a (diff) | |
| download | httpd-3c4208abd325d317c7524ba0dc3b701edfa9ebf8.tar.gz | |
Diffstat (limited to 'config.lua')
| -rw-r--r-- | config.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.lua b/config.lua new file mode 100644 index 0000000..6ca8ff5 --- /dev/null +++ b/config.lua @@ -0,0 +1,13 @@ +http = {} + +http.bind = "localhost:8080" + +http.handlers = {} + +http.handlers["GET"] = function(request) + return { + handler = "staticfile", + path = "/tmp/foo.txt", + mime = "text/plain" + } +end |
