fastcgit
This commit is contained in:
parent
fd585e1558
commit
96c79731cf
1 changed files with 10 additions and 0 deletions
|
@ -556,9 +556,19 @@ Sites
|
||||||
server {
|
server {
|
||||||
include rwx.work.conf;
|
include rwx.work.conf;
|
||||||
server_name git.rwx.work;
|
server_name git.rwx.work;
|
||||||
|
location ~ ^.*/(info/refs|git-upload-pack)$ {
|
||||||
|
fastcgi_pass unix:/run/fcgiwrap.socket;
|
||||||
|
fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
|
||||||
|
fastcgi_param PATH_INFO ${uri};
|
||||||
|
fastcgi_param GIT_PROJECT_ROOT /d/projects/rwx.work;
|
||||||
|
fastcgi_param GIT_HTTP_EXPORT_ALL "";
|
||||||
|
include fastcgi_params;
|
||||||
|
}
|
||||||
|
location / {
|
||||||
root /d/projects/rwx.work;
|
root /d/projects/rwx.work;
|
||||||
fancyindex on;
|
fancyindex on;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
include rwx.work.conf;
|
include rwx.work.conf;
|
||||||
|
|
Loading…
Reference in a new issue