summaryrefslogtreecommitdiff
path: root/usr/local/etc/lighttpd/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/etc/lighttpd/lighttpd.conf')
-rw-r--r--usr/local/etc/lighttpd/lighttpd.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/etc/lighttpd/lighttpd.conf b/usr/local/etc/lighttpd/lighttpd.conf
index 277ac25..b7e3272 100644
--- a/usr/local/etc/lighttpd/lighttpd.conf
+++ b/usr/local/etc/lighttpd/lighttpd.conf
@@ -2,11 +2,13 @@ var.log_root = "/var/log/lighttpd"
include "conf.d/access_log.conf"
include "conf.d/mime.conf"
include "conf.d/cgi.conf"
-index-file.names += ("cgit.cgi")
+include "conf.d/rewrite.conf"
+index-file.names = ("cgit.cgi")
+server.name = "git.53hor.net"
server.document-root = "/usr/local/www/cgit"
server.errorlog = log_root + "/error.log"
server.breakagelog = log_root + "/breakage.log"
server.network-backend = "sendfile"
server.port = 80
-server.username = "www"
+server.username = "www"
server.groupname = "www"