diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 06:40:33 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 06:40:33 (JST) |
commit | 5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39 (patch) | |
tree | 5c844c0ba53cfd2e838368ffbbd4583ac63d3608 /cgitrc | |
parent | 9ecde6568a9e39c942f4c5585ffa494c5df870e4 (diff) | |
download | cgit-5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39.zip cgit-5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39.tar.gz |
Add include-parameter to config files
This parameter can be used to include another config-file, like
a standalone repository listing.
Suggested in a patch by Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgitrc')
-rw-r--r-- | cgitrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -63,8 +63,11 @@ | |||
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 | ||
@@ -74,7 +77,7 @@ | |||
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) |