summaryrefslogtreecommitdiffabout
path: root/cgitrc
Unidiff
Diffstat (limited to 'cgitrc') (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index eaa9ce3..054a708 100644
--- a/cgitrc
+++ b/cgitrc
@@ -63,48 +63,49 @@
63#max-repodesc-length=60 63#max-repodesc-length=60
64 64
65 65
66## Number of chars shown of commit subject message (in log view) 66## Number of chars shown of commit subject message (in log view)
67#max-message-length=60 67#max-message-length=60
68 68
69 69
70## Number of commits per page in log view 70## Number of commits per page in log view
71#max-commit-count=50 71#max-commit-count=50
72 72
73 73
74## Root of cached output 74## Root of cached output
75#cache-root=/var/cache/cgit 75#cache-root=/var/cache/cgit
76 76
77 77
78## Include another config-file 78## Include another config-file
79#include=/var/cgit/repolist 79#include=/var/cgit/repolist
80 80
81## 81##
82## Time-To-Live settings: specifies how long (in minutes) different pages 82## Time-To-Live settings: specifies how long (in minutes) different pages
83## should be cached (0 for instant expiration, -1 for immortal pages) 83## should be cached (0 for instant expiration, -1 for immortal pages)
84## 84##
85 85
86## ttl for root page 86## ttl for root page
87#cache-root-ttl=5 87#cache-root-ttl=5
88 88
89## ttl for repo summary page 89## ttl for repo summary page
90#cache-repo-ttl=5 90#cache-repo-ttl=5
91 91
92## ttl for other dynamic pages 92## ttl for other dynamic pages
93#cache-dynamic-ttl=5 93#cache-dynamic-ttl=5
94 94
95## ttl for static pages (addressed by SHA-1) 95## ttl for static pages (addressed by SHA-1)
96#cache-static-ttl=-1 96#cache-static-ttl=-1
97 97
98 98
99 99
100## Example repository entry. Required values are repo.url and repo.path (each 100## Example repository entry. Required values are repo.url and repo.path (each
101## repository section must start with repo.url). 101## repository section must start with repo.url).
102#repo.url=cgit 102#repo.url=cgit
103#repo.name=cgit 103#repo.name=cgit
104#repo.desc=the caching cgi for git 104#repo.desc=the caching cgi for git
105#repo.path=/pub/git/cgit 105#repo.path=/pub/git/cgit
106#repo.owner=Lars Hjemli 106#repo.owner=Lars Hjemli
107 #repo.snapshots=1 # override a sitewide snapshot-setting 107 #repo.snapshots=1 # override a sitewide snapshot-setting
108 #repo.enable-log-filecount=0 # override the default filecount setting 108 #repo.enable-log-filecount=0 # override the default filecount setting
109 #repo.enable-log-linecount=0 # override the default linecount setting 109 #repo.enable-log-linecount=0 # override the default linecount setting
110 #repo.module-link=/git/%s/commit/?id=%s # override the standard module-link 110 #repo.module-link=/git/%s/commit/?id=%s # override the standard module-link
111 #repo.readme=info/web/readme # specify a file to include on summary page