Unidiff1 files changed, 5 insertions, 2 deletions
|
diff --git a/cgitrc b/cgitrc index 019781e..e7e731c 100644 --- a/ cgitrc+++ b/ cgitrc |
|
@@ -54,36 +54,39 @@ |
54 | ## Number of chars shown of commit subject message (in log view) |
54 | ## Number of chars shown of commit subject message (in log view) |
55 | #max-message-length=60 |
55 | #max-message-length=60 |
56 | |
56 | |
57 | |
57 | |
58 | ## Number of commits per page in log view |
58 | ## Number of commits per page in log view |
59 | #max-commit-count=50 |
59 | #max-commit-count=50 |
60 | |
60 | |
61 | |
61 | |
62 | ## Root of cached output |
62 | ## Root of cached output |
63 | #cache-root=/var/cache/cgit |
63 | #cache-root=/var/cache/cgit |
64 | |
64 | |
65 | |
65 | |
| |
66 | ## Include another config-file |
| |
67 | #include=/var/cgit/repolist |
| |
68 | |
66 | ## |
69 | ## |
67 | ## Time-To-Live settings: specifies how long (in minutes) different pages |
70 | ## Time-To-Live settings: specifies how long (in minutes) different pages |
68 | ## should be cached (0 for instant expiration, -1 for immortal pages) |
71 | ## should be cached (0 for instant expiration, -1 for immortal pages) |
69 | ## |
72 | ## |
70 | |
73 | |
71 | ## ttl for root page |
74 | ## ttl for root page |
72 | #cache-root-ttl=5 |
75 | #cache-root-ttl=5 |
73 | |
76 | |
74 | ## ttl for repo summary page |
77 | ## ttl for repo summary page |
75 | #cache-repo-ttl=5 |
78 | #cache-repo-ttl=5 |
76 | |
79 | |
77 | ## ttl for other dynamic pages |
80 | ## ttl for other dynamic pages |
78 | #cache-dynamic-ttl=5 |
81 | #cache-dynamic-ttl=5 |
79 | |
82 | |
80 | ## ttl for static pages (addressed by SHA-1) |
83 | ## ttl for static pages (addressed by SHA-1) |
81 | #cache-static-ttl=-1 |
84 | #cache-static-ttl=-1 |
82 | |
85 | |
83 | |
86 | |
84 | |
87 | |
85 | ## Example repository entry. Required values are repo.url and repo.path (each |
88 | ## Example repository entry. Required values are repo.url and repo.path (each |
86 | ## repository section must start with repo.url). |
89 | ## repository section must start with repo.url). |
87 | #repo.url=cgit |
90 | #repo.url=cgit |
88 | #repo.name=cgit |
91 | #repo.name=cgit |
89 | #repo.desc=the caching cgi for git |
92 | #repo.desc=the caching cgi for git |
|