Update README.md - fiche - A pastebin adjusted for gopher use | |
git clone git://vernunftzentrum.de/fiche.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5eec8608b72555c6e748beae0cb19a1da6383709 | |
parent 829c8e16d81ac4f88f192e103b50ea874850696a | |
Author: solusipse <[email protected]> | |
Date: Fri, 6 Sep 2013 04:20:35 +0200 | |
Update README.md | |
Diffstat: | |
README.md | 22 +++++++++++++++++++++- | |
1 file changed, 21 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/README.md b/README.md | |
@@ -79,6 +79,26 @@ Slug size: ```yourserver.com/SLUG_OF_CHOSEN_LENGTH/```. | |
- Buffer size | |
- Queue size | |
-### License ### | |
+## Webserver ## | |
+ | |
+To make files available for users, you need to host them somehow. Http server … | |
+directory to ```BASEDIR```. **Remember that you have to distribute these files… | |
+ | |
+There is sample configuration for nginx: | |
+ | |
+``` | |
+server { | |
+ listen 80; | |
+ server_name mysite.com www.mysite.com; | |
+ add_header Content-Type text/plain; | |
+ | |
+ location / { | |
+ root /home/www/code/; | |
+ index index.html; | |
+ } | |
+} | |
+``` | |
+ | |
+## License ## | |
Fiche is MIT licensed. |