X-Git-Url: http://git.purplebirdman.com/gitweb.git/blobdiff_plain/e84a7b365213f0f89db5ff4e94c177253755b451..HEAD:/gitweb.conf diff --git a/gitweb.conf b/gitweb.conf index c0189ad..8a6b0ee 100644 --- a/gitweb.conf +++ b/gitweb.conf @@ -5,26 +5,39 @@ $projectroot = "/srv/git"; $git_temp = "/tmp"; # target of the home link on top of all pages -$home_link = $my_uri || "/"; +$home_link = "/"; # html text to include at home page -$home_text = "indextext.html"; +#$home_text = "indextext.html"; # file with project list; by default, simply scan the projectroot dir. $projects_list = $projectroot; +# https://git-scm.com/docs/gitweb +# only allow export of approved repos +our $export_ok = "git-daemon-export-ok"; + # stylesheet to use -@stylesheets = ("static/gitweb.css"); +#@stylesheets = ("static/gitweb.css"); # javascript code for gitweb -$javascript = "static/gitweb.js"; +#$javascript = "static/gitweb.js"; # logo to use -$logo = "static/git-logo.png"; +#$logo = "static/git-logo.png"; # the 'favicon' -$favicon = "static/git-favicon.png"; +#$favicon = "static/git-favicon.png"; # git-diff-tree(1) options to use for generated patches #@diff_opts = ("-M"); @diff_opts = (); + +# beautiful paths +$feature{'pathinfo'}{'default'} = [1]; + +# by default, is incorrect behind a reverse proxy +$per_request_config = 1; + +$my_uri = "/"; +$base_url = $ENV{BASE_URL};