summaryrefslogtreecommitdiff
path: root/templates/web/lighttpd
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-09 00:27:37 +0000
committermh <mh@immerda.ch>2009-01-09 00:27:37 +0000
commitd3a825d19821ff9318615ac022de89a328c41ccd (patch)
tree815bfcce3520e2677a56a53f54b63e2074fbe417 /templates/web/lighttpd
parent698014f451130146aec861281747385cca5abf89 (diff)
added gitwebrepo share possibility for lighttpd
Diffstat (limited to 'templates/web/lighttpd')
-rw-r--r--templates/web/lighttpd6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/lighttpd b/templates/web/lighttpd
new file mode 100644
index 0000000..c7a5130
--- /dev/null
+++ b/templates/web/lighttpd
@@ -0,0 +1,6 @@
+$HTTP["host"] == "<%= $gitweb_url %>" {
+ setenv.add-environment = (
+ "GITWEB_CONFIG" => "/etc/gitweb.d/${name}.conf",
+ )
+ cgi.assign = ( "" => "" )
+}