# HG changeset patch # User Marcin Kuzminski # Date 2012-08-03 16:02:33 # Node ID 63a980ac1bbaea8ab70e2d9e0f68c73665e46897 # Parent 8e10ce55531d0440333ac94f047e246dbf347371 add example when having chunking module for nginx enabled. - overcomes large git push issues and having to set postBuffer in gitconfig diff --git a/docs/setup.rst b/docs/setup.rst --- a/docs/setup.rst +++ b/docs/setup.rst @@ -532,6 +532,15 @@ Sample config for nginx using proxy:: access_log /var/log/nginx/rhodecode.access.log; error_log /var/log/nginx/rhodecode.error.log; + # uncomment if you have nginx with chunking module compiled + # fixes the issues of having to put postBuffer data for large git + # pushes + #chunkin on; + #error_page 411 = @my_411_error; + #location @my_411_error { + # chunkin_resume; + #} + location / { try_files $uri @rhode; }