summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2024-05-25 02:26:01 +0000
committerGitHub <noreply@github.com>2024-05-25 02:26:01 +0000
commit2bc96e2fc158a60163dd5a41c82db3687d87c1da (patch)
tree16a334405899e2046b76a4b609598ff32de8393f /content
parent20fe697402fd0adfec5f2c0a90db91c1650efa60 (diff)
parent565c937dcd76aca6269efeeb3db59b1be03ca6ca (diff)
Merge pull request #291 from angelacastaneda/master
Fix cgit guide to use dir location from git guide
Diffstat (limited to 'content')
-rw-r--r--content/cgit.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/cgit.md b/content/cgit.md
index ce6214c..13d4b2b 100644
--- a/content/cgit.md
+++ b/content/cgit.md
@@ -53,8 +53,8 @@ server {
fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
fastcgi_param PATH_INFO $uri;
fastcgi_param GIT_HTTP_EXPORT_ALL 1;
- fastcgi_param GIT_PROJECT_ROOT /srv/git;
- fastcgi_param HOME /srv/git;
+ fastcgi_param GIT_PROJECT_ROOT /var/git;
+ fastcgi_param HOME /var/git;
fastcgi_pass unix:/run/fcgiwrap.socket;
}
@@ -90,11 +90,11 @@ root-title={{<hl>}}Chad's git server{{</hl>}}
root-desc={{<hl>}}A web interface to LandChad's git repositories, powered by Cgit{{</hl>}}
# The location where git repos are stored on the server
-scan-path=/srv/git/
+scan-path=/var/git/
```
This configuration assumes you followed the [git hosting guide](/git)
-and store your repositories on the `/srv/git/` directory.
+and store your repositories on the `/var/git/` directory.
Cgit\'s configuration allows changing many settings, as documented on
the cgitrc(5) manpage installed with Cgit.