1 # Include the global configuration, if found.
2 do "/etc/gitweb.conf" if -e "/etc/gitweb.conf";
4 # Point to projects.list file generated by gitosis.
5 # Here gitosis manages the user "git", who has a
6 # home directory of /srv/example.com/git
7 $projects_list = "/srv/example.com/git/gitosis/projects.list";
9 # Where the actual repositories are located.
10 $projectroot = "/srv/example.com/git/repositories";
12 # By default, gitweb will happily let people browse any repository
13 # they guess the name of. This may or may not be what you wanted. I
14 # choose to allow gitweb to show only repositories that git-daemon
15 # is already sharing anonymously.
16 $export_ok = "git-daemon-export-ok";
18 # Alternatively, you could set these, to allow exactly the things in
19 # projects.list, which in this case is the repos with gitweb=yes
20 # in gitosis.conf. This means you don't need daemon=yes, but you
21 # can't have repositories hidden but browsable if you know the name.
22 # And note gitweb already allows downloading the full repository,
23 # so you might as well serve git-daemon too.
25 # $strict_export = "true";
27 # A list of base urls where all the repositories can be cloned from.
28 # Easier than having per-repository cloneurl files.
29 @git_base_url_list = ('git://example.com');