divzeroweb

2f30.org website
git clone git://git.2f30.org/divzeroweb
Log | Files | Refs | README | LICENSE

commit 6ccc8478e79063ee5c81e19de748fd25cb2c5a99
parent f48c1170838a3adca8340c8079ecab96c9763254
Author: lostd <lostd@2f30.org>
Date:   Mon,  6 Jul 2015 17:02:04 +0300

Strip whitespaces

Diffstat:
Mguides/openbsd-httpd-cgit.md | 50+++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/guides/openbsd-httpd-cgit.md b/guides/openbsd-httpd-cgit.md @@ -30,11 +30,11 @@ An example of [httpd.conf(5)](http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-cur ext_ip="0.0.0.0" server "default" { listen on $ext_ip port 80 - + # serve cgit static files directly: cgit.css and cgit.png location "/cgit.*" { root "/cgit" - no fastcgi + no fastcgi } # cgit CGI root "/cgi-bin/cgit.cgi" @@ -58,54 +58,54 @@ default on OpenBSD this is set to `/conf/cgitrc` (chroot), which is `/var/www/conf/cgitrc`. An example of `cgitrc`: footer=/conf/cgit.footer - + # Enable caching of up to 1000 output entries cache-size=1000 - + cache-root=/cgit/cache - + # Specify some default clone urls using macro expansion clone-url=git://git.codemadness.nl/$CGIT_REPO_URL - + # Specify the css url css=/cgit.css - + # Show owner on index page enable-index-owner=0 - + # Allow http transport git clone enable-http-clone=0 - + # Show extra links for each repository on the index page enable-index-links=0 - + # Enable ASCII art commit history graph on the log pages enable-commit-graph=1 - + # Show number of affected files per commit on the log pages enable-log-filecount=1 - + # Show number of added/removed lines per commit on the log pages enable-log-linecount=1 - + # Sort branches by date branch-sort=age - + # Add a cgit favicon favicon=/favicon.ico - + # Enable statistics per week, month and quarter max-stats=quarter - + # Set the title and heading of the repository index page root-title=Codemadness.org repositories - + # Set a subheading for the repository index page root-desc= - + # Allow download of tar.gz, tar.bz2 and zip-files snapshots=tar.gz - + ## List of common mimetypes mimetype.gif=image/gif mimetype.html=text/html @@ -114,21 +114,21 @@ default on OpenBSD this is set to `/conf/cgitrc` (chroot), which is mimetype.pdf=application/pdf mimetype.png=image/png mimetype.svg=image/svg+xml - + ## Search for these files in the root of the default branch of repositories ## for coming up with the about page: readme=:README - + virtual-root=/ - + scan-path=/htdocs/src - + # Disable adhoc downloads of this repo repo.snapshots=0 - + # Disable line-counts for this repo repo.enable-log-linecount=0 - + # Restrict the max statistics period for this repo repo.max-stats=month