# Located in app directory user root; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { server { listen *:80; access_log /var/log/nginx/access.log; location ~ (/.*) { # Set chunks to unlimited, as the bodies can be huge client_max_body_size 0; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/libexec/git-core/git-http-backend; fastcgi_param GIT_PROJECT_ROOT /git; fastcgi_param PATH_INFO $1; fastcgi_pass unix:/run/fcgi.sock; } } }