]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/apache.erb
Move git and dns from shenron to sarel
[chef.git] / cookbooks / chef / templates / default / apache.erb
index 706ab5eadc9f9d754d2df3f9619cc094f071b728..9d86d910e7c858b4ccdfdd3b9e71391e8c8a7705 100644 (file)
        ProxyPassMatch ^/.*\.git/ !
        ProxyPass / https://<%= node[:fqdn] %>:4443/
        ProxyPreserveHost on
-
-       SetEnv GIT_PROJECT_ROOT /var/lib/git
-       SetEnv GIT_HTTP_EXPORT_ALL
-       ScriptAlias / /usr/lib/git-core/git-http-backend/
 </VirtualHost>
-
-<Directory /usr/lib/git-core>
-       Options ExecCGI
-       Require ip <%= @git_allowed.sort.join(" ") %>
-</Directory>