aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cgit/templates/vhost.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cgit/templates/vhost.conf')
-rw-r--r--modules/cgit/templates/vhost.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf
new file mode 100644
index 00000000..5c1d99e7
--- /dev/null
+++ b/modules/cgit/templates/vhost.conf
@@ -0,0 +1,8 @@
+Alias /cgit-data /usr/share/cgit
+Alias /robots.txt /usr/share/cgit/robots.txt
+ScriptAliasMatch ^(.*) /var/www/cgi-bin/cgit$1
+
+<Directory /usr/share/cgit>
+ Order allow,deny
+ Allow from all
+</Directory>