X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..571e5982cc82c4fbefff0d463895a029a68921fe:/cookbooks/git/templates/default/gitweb.conf.erb?ds=inline diff --git a/cookbooks/git/templates/default/gitweb.conf.erb b/cookbooks/git/templates/default/gitweb.conf.erb index b98c15ae5..4cfe1c24f 100644 --- a/cookbooks/git/templates/default/gitweb.conf.erb +++ b/cookbooks/git/templates/default/gitweb.conf.erb @@ -1,7 +1,7 @@ # DO NOT EDIT - This file is being maintained by Chef # path to git projects (.git) -$projectroot = "<%= node[:git][:directory] %>"; +$projectroot = "<%= node[:git][:directory] %>/public"; # directory to use for temp files $git_temp = "/tmp"; @@ -10,7 +10,7 @@ $git_temp = "/tmp"; #$home_link = $my_uri || "/"; # html text to include at home page -$home_text = "indextext.html"; +$home_text = "/srv/<%= node[:git][:host] %>/indextext.html"; # file with project list; by default, simply scan the projectroot dir. $projects_list = $projectroot; @@ -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);