]> Untitled Git - gitweb.git/blob - gitweb.conf
Only allow export of approved repos
[gitweb.git] / gitweb.conf
1 # path to git projects (<project>.git)
2 $projectroot = "/srv/git";
3
4 # directory to use for temp files
5 $git_temp = "/tmp";
6
7 # target of the home link on top of all pages
8 $home_link = "/";
9
10 # html text to include at home page
11 #$home_text = "indextext.html";
12
13 # file with project list; by default, simply scan the projectroot dir.
14 $projects_list = $projectroot;
15
16 # https://git-scm.com/docs/gitweb
17 # only allow export of approved repos
18 our $export_ok = "git-daemon-export-ok";
19
20 # stylesheet to use
21 #@stylesheets = ("static/gitweb.css");
22
23 # javascript code for gitweb
24 #$javascript = "static/gitweb.js";
25
26 # logo to use
27 #$logo = "static/git-logo.png";
28
29 # the 'favicon'
30 #$favicon = "static/git-favicon.png";
31
32 # git-diff-tree(1) options to use for generated patches
33 #@diff_opts = ("-M");
34 @diff_opts = ();
35
36 # beautiful paths
37 $feature{'pathinfo'}{'default'} = [1];
38
39 # by default, <base href> is incorrect behind a reverse proxy
40 $per_request_config = 1;
41
42 $my_uri = "/";
43 $base_url = $ENV{BASE_URL};