]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/git/templates/default/gitweb.conf.erb
Merge remote-tracking branch 'github/pull/165'
[chef.git] / cookbooks / git / templates / default / gitweb.conf.erb
index b98c15ae5b84b3edfef50cf1c459897b6a4b234a..5d2eb746924b10628766b8a6f8cb700c5e3dc1a5 100644 (file)
@@ -1,7 +1,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # path to git projects (<project>.git)
-$projectroot = "<%= node[:git][:directory] %>";
+$projectroot = "<%= node[:git][:directory] %>/public";
 
 # directory to use for temp files
 $git_temp = "/tmp";
@@ -31,4 +31,4 @@ our $javascript = "/gitweb/static/gitweb.js";
 $feature{'pathinfo'}{'default'} = [1];
 
 # define roots for cloning
-@git_base_url_list = qw(git://<%= node[:git][:host] %>);
+@git_base_url_list = qw(https://<%= node[:git][:host] %>/public);