feat(services/cgit-taz): Check in initial cgit configuration

This is currently just a test to serve examples from my local machine,
nothing more fancy than that.
This commit is contained in:
Vincent Ambo 2019-12-18 16:22:56 +00:00
parent a40c2474fe
commit 11022c1b88
3 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git a/config.h b/config.h
index 65ab1e3..cde470f 100644
--- a/config.h
+++ b/config.h
@@ -327,7 +327,7 @@
/* CONFIGURE: A list of index filenames to check. The files are searched
** for in this order.
*/
-#define INDEX_NAMES "index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm", "index.cgi"
+#define INDEX_NAMES "cgit.cgi"
/* CONFIGURE: If this is defined then thttpd will automatically generate
** index pages for directories that don't have an explicit index file.