aboutsummaryrefslogtreecommitdiff
path: root/templates/apache/vhosts/git.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-20 13:41:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-20 13:41:53 -0300
commit67baef24fbbad2a0f1411ffd6fc6671942d95aa9 (patch)
tree8661cb55f679e23663213f7c761ca0d6fd20c309 /templates/apache/vhosts/git.erb
parent097b8ec6218cd644f30831d4c948b97ea37b2222 (diff)
downloadpuppet-bootstrap-67baef24fbbad2a0f1411ffd6fc6671942d95aa9.tar.gz
puppet-bootstrap-67baef24fbbad2a0f1411ffd6fc6671942d95aa9.tar.bz2
Git and cgit vhosts
Diffstat (limited to 'templates/apache/vhosts/git.erb')
-rw-r--r--templates/apache/vhosts/git.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/apache/vhosts/git.erb b/templates/apache/vhosts/git.erb
index 25aecd1..89173ac 100644
--- a/templates/apache/vhosts/git.erb
+++ b/templates/apache/vhosts/git.erb
@@ -3,6 +3,7 @@
# Recipe based on http://josephspiros.com/2009/07/26/configuring-gitweb-for-apache-on-debian
ServerName git.<%= domain %>
+ ServerAlias gitweb.<%= domain %>
SetEnv GITWEB_CONFIG /etc/gitweb.conf
HeaderName HEADER
DocumentRoot /var/git/repositories