summaryrefslogtreecommitdiff
path: root/content/cgit.md
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2024-07-16 08:33:25 -0400
committerGitHub <noreply@github.com>2024-07-16 08:33:25 -0400
commit613b27642fa4c5315ae925ec6701a224eec08c39 (patch)
tree137b4202e7a362401ed66b9cd85482a4a9a1e642 /content/cgit.md
parented8eda775c17b707576744e81f0738724aa64978 (diff)
parentb5d7e4b977208d89b4615a8ded2525c97e3ba517 (diff)
Merge branch 'master' into m-chrzan/spf
Diffstat (limited to 'content/cgit.md')
-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.