summaryrefslogtreecommitdiffstats
path: root/cgit/git-http-backend.conf
diff options
context:
space:
mode:
authorDejavu Moe <[email protected]>2023-05-10 21:21:15 +0800
committerDejavu Moe <[email protected]>2023-05-10 21:21:15 +0800
commit6450f72242e85e9c9c6493439ad44fe2834a822e (patch)
treee21d16a5a691c75cfe10586732804fcd318d301d /cgit/git-http-backend.conf
parentd0c11881d929ec1582cad180fae34939022c8af8 (diff)
downloadself-hosted-6450f72242e85e9c9c6493439ad44fe2834a822e.tar.gz
self-hosted-6450f72242e85e9c9c6493439ad44fe2834a822e.zip
add cgit
Diffstat (limited to '')
-rw-r--r--cgit/git-http-backend.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit/git-http-backend.conf b/cgit/git-http-backend.conf
new file mode 100644
index 0000000..d9aa350
--- /dev/null
+++ b/cgit/git-http-backend.conf
@@ -0,0 +1,7 @@
+fastcgi_pass unix:/var/run/fcgiwrap.socket;
+include fastcgi_params;
+fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
+fastcgi_param GIT_HTTP_EXPORT_ALL "";
+fastcgi_param GIT_PROJECT_ROOT /home/git;
+fastcgi_param PATH_INFO $1;
+fastcgi_param REMOTE_USER $remote_user; \ No newline at end of file