aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-01 17:43:15 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-01 17:43:15 -0400
commit6af88fbd0818266f7f13479bb2b59761d455abc9 (patch)
treec2f68b40355aff35b9ea18f696143f57ef810a07 /git.sr.ht
parent634cacc389541e7410fbdcfe938118d1049c94ab (diff)
downloadsr.ht-docs-6af88fbd0818266f7f13479bb2b59761d455abc9.tar.gz
Remove cgit instructions from git.sr.ht install
Diffstat (limited to 'git.sr.ht')
-rw-r--r--git.sr.ht/installation.md45
1 files changed, 0 insertions, 45 deletions
diff --git a/git.sr.ht/installation.md b/git.sr.ht/installation.md
index 5ca6100..ce6527b 100644
--- a/git.sr.ht/installation.md
+++ b/git.sr.ht/installation.md
@@ -14,51 +14,6 @@ suggest `/var/lib/git/`. Also configure a `git` user and assign ownership over
these for you. If you do not use the package, you must create the user yourself
and ensure that the git.sr.ht web application runs as this user.
-## cgit
-
-Presently git.sr.ht's repository viewer is designed as a proxy to
-[cgit](https://git.zx2c4.com/cgit/). This is eventually going to change, but
-for the time being you must install and configure cgit on your server. Set your
-cgitrc file to the following configuration:
-
- virtual-root=/
- enable-index-owner=0
- embedded=1
- noheader=1
- source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
- clone-url=__CLONE_URL__
- snapshots=tar.xz
- scan-path=/var/lib/git/
- readme=:README
- readme=:readme
-
-Make sure your syntax highlighting script looks good. You will probably need to
-add `--inline-css` or so.
-
-Then configure nginx to serve cgit to localhost with something like this:
-
- server {
- listen 80;
- server_name cgit.local;
- root /usr/share/webapps/cgit;
- try_files $uri @cgit;
-
- location @cgit {
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root/cgit.cgi;
- fastcgi_param PATH_INFO $uri;
- fastcgi_param QUERY_STRING $args;
- fastcgi_param HTTP_HOST $server_name;
- fastcgi_pass unix:/run/fcgiwrap.sock;
- }
- }
-
-Update your git.sr.ht configuration accordingly:
-
- [cgit]
- remote=http://cgit.local
- repos=/var/lib/git/
-
## SSH dispatch
It is necessary to configure git.sr.ht's SSH dispatcher as the system-wide SSH