changeset 2682:63a980ac1bba beta

add example when having chunking module for nginx enabled. - overcomes large git push issues and having to set postBuffer in gitconfig
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 03 Aug 2012 18:02:33 +0200
parents 8e10ce55531d
children eaf1782bee64
files docs/setup.rst
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/setup.rst	Thu Aug 02 17:09:55 2012 +0200
+++ b/docs/setup.rst	Fri Aug 03 18:02:33 2012 +0200
@@ -532,6 +532,15 @@
        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;
        }