aboutsummaryrefslogtreecommitdiff
path: root/templates/apache/vhosts/git.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:21:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:21:18 -0300
commit48f24914d39228fa68f5c540c80f285f61de1e17 (patch)
treee801695d7e760d3b2c6250ea2bcd7b4751c85d44 /templates/apache/vhosts/git.erb
parent319bdcb9e0135f3cbac8a3d8fab29e26c6d1b8c3 (diff)
downloadpuppet-bootstrap-48f24914d39228fa68f5c540c80f285f61de1e17.tar.gz
puppet-bootstrap-48f24914d39228fa68f5c540c80f285f61de1e17.tar.bz2
Removes templates
Diffstat (limited to 'templates/apache/vhosts/git.erb')
-rw-r--r--templates/apache/vhosts/git.erb25
1 files changed, 0 insertions, 25 deletions
diff --git a/templates/apache/vhosts/git.erb b/templates/apache/vhosts/git.erb
deleted file mode 100644
index 5f767e0..0000000
--- a/templates/apache/vhosts/git.erb
+++ /dev/null
@@ -1,25 +0,0 @@
-# begin vhost for git
-<VirtualHost *:80>
- # 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
- Alias /gitweb.css /usr/share/gitweb/gitweb.css
- Alias /git-favicon.png /usr/share/gitweb/git-favicon.png
- Alias /git-logo.png /usr/share/gitweb/git-logo.png
-
- ScriptAlias /gitweb /usr/lib/cgi-bin/gitweb.cgi
- RewriteEngine on
-
- # Rewrite all other paths that aren't git repo internals to gitweb
- RewriteRule ^/$ /gitweb [PT]
- RewriteRule ^/(.*\.git/(?!/?(HEAD|info|objects|refs)).*)?$ /gitweb%{REQUEST_URI} [L,PT]
-
- <IfModule mpm_itk_module>
- AssignUserId www-data git
- </IfModule>
-</VirtualHost>
-# end vhost for git