gelraen
12.01.2012 14:54
location /cgit {
index cgit.cgi;
root /usr/local/www;
}
location ~ /cgit/cgit.cgi(.*) {
fastcgi_param SCRIPT_FILENAME /usr/local/www/cgit/cgit.cgi;
fastcgi_param PATH_INFO $1;
fastcgi_param SCRIPT_NAME /cgit/cgit.cgi;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
allow 127.0.0.1;
deny all;
}