Set the following properties in your /etc/nginx/proxy.conf so it does not
timeout during large pushes.

proxy_redirectoff;proxy_set_headerHost$http_host;## If you use HTTPS make sure you disable gzip compression## to be safe against BREACH attack.gzipoff;# Don't buffer requests in NGINX stream them using chunked-encodingproxy_bufferingoff;## This is also required for later GIT to use streaming.## Works only for Nginx 1.7.11 and newerproxy_request_bufferingoff;proxy_http_version1.1;## Set this to a larger number if you experience timeouts## or 413 Request Entity Too Large, 10GB is enough for most casesclient_max_body_size10240m;## needed for container auth# proxy_set_header REMOTE_USER $remote_user;# proxy_set_header X-Forwarded-User $remote_user;proxy_set_headerX-Url-Scheme$scheme;proxy_set_headerX-Host$http_host;proxy_set_headerX-Real-IP$remote_addr;proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;proxy_set_headerProxy-host$proxy_host;proxy_connect_timeout7200;proxy_send_timeout7200;proxy_read_timeout7200;proxy_buffers832k;add_headerX-Frame-OptionsSAMEORIGIN;add_headerStrict-Transport-Security"max-age=31536000;includeSubdomains;";