diff options
author | Eric Wong <e@80x24.org> | 2019-04-25 07:57:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-04-25 08:00:51 +0000 |
commit | 31f2f298fe245d5762101bc229416b26c4e85679 (patch) | |
tree | bfe9fa5b5f4eb208de7784448bb3cc3da5a9a5ad /Documentation | |
parent | 1b62a491cccb3c71d60962c798cf02c1b9344ce1 (diff) | |
download | public-inbox-31f2f298fe245d5762101bc229416b26c4e85679.tar.gz |
Document `publicinbox.cgitdata' config directive, but allow it to be unspecified and/or missing for installations which do not wish to serve static data at all. For users installing cgit from source to their home directory, we can usually infer the cgit data path based on the cgit.cgi binary path, even.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/public-inbox-config.pod | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index f894eb3d..29150220 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -217,6 +217,15 @@ directive is configured. Default: /var/www/htdocs/cgit/cgit.cgi or /usr/lib/cgit/cgit.cgi +=item publicinbox.cgitdata + +A path to the data directory used by cgit for storing static files. +Typically guessed based the location of C<cgit.cgi> (from +C<publicinbox.cgitbin>, but may be overridden. + +Default: basename of C<publicinbox.cgitbin>, /var/www/htdocs/cgit/ +or /usr/share/cgit/ + =back =head2 NAMED LIMITER (PSGI) |