Mercurial > self-hosted
diff cgit/git-http-backend.conf @ 5:19a4c3672796 default tip
RE:重新新增Cgit配置文件
author | Franklin Schmit <meokcin@gmail.com> |
---|---|
date | Wed, 04 Sep 2024 08:15:23 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cgit/git-http-backend.conf Wed Sep 04 08:15:23 2024 +0800 @@ -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