You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
805 B

##
## cgitrc -- cgit CGI configuration file
##
cache-size=1000
clone-prefix=http://example.com/git
root-title=example.com Git repositories
css=/cgit/cgit.css
logo=/cgit/cgit.png
enable-index-links=1
enable-commit-graph=1
enable-log-linecount=1
max-stats=quarter
snapshots=tar.gz tar.bz2 zip
##
## List of common mimetypes
##
mimetype.txt=text/plain
mimetype.html=text/html
mimetype.pdf=application/pdf
mimetype.svg=image/svg+xml
mimetype.gif=image/gif
mimetype.png=image/png
mimetype.jpg=image/jpeg
mimetype.jpeg=image/jpeg
##
## List of repositories
##
repo.url=repo1
repo.path=@l_prefix@/var/cgit/repo/repo1.git
repo.desc=the first repository
repo.owner=repo1@example.com
repo.url=repo2
repo.path=@l_prefix@/var/cgit/repo/repo2.git
repo.desc=the second repository
repo.owner=repo2@example.com