From 7a7d4ac0d5131343984db2b6104948a5e22402fa Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Sat, 24 Aug 2019 01:05:45 -0400 Subject: [PATCH] Update README.md --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e73eab5..e53e217 100644 --- a/README.md +++ b/README.md @@ -89,14 +89,24 @@ Using python, you can modify this behavior to do fancy things like building a pr server for HTTP requests. See [server_http_proxy.py](examples/server_http_proxy.py) for an example of how to accomplish this. -## Serving Files +### Serving Files Jetforce serves files from the ``/var/gemini/`` directory by default: - Files with the **.gmi** extension will be interpreted as *text/gemini*. -- Other files will have their *mimetype* guessed based on their file extensions. -- Directories will look for a file with the name **index.gmi**. If that does +- Other files will have their *mimetype* guessed based on their file extension. +- Directories will look for a file with the name **index.gmi**. If that file does not exist, a directory listing will be automatically generated to return. There is not currently any support for CGI scripts. This feature might be added in a future version. + +## License + +This project is licensed under the [Floodgap Free Software License](https://www.floodgap.com/software/ffsl/license.html). + +> The Floodgap Free Software License (FFSL) has one overriding mandate: that software +> using it, or derivative works based on software that uses it, must be free. By free +> we mean simply "free as in beer" -- you may put your work into open or closed source +> packages as you see fit, whether or not you choose to release your changes or updates +> publicly, but you must not ask any fee for it.