From 14efa7652a46e623d3b6c09c4fb65cbd81686bff Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 4 Mar 2019 16:44:25 +0100 Subject: [PATCH] docs: updated Apache config with chunked proxy option --- docs/admin/apache-conf-example.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/admin/apache-conf-example.rst b/docs/admin/apache-conf-example.rst index fa97c851..8f46c25e 100644 --- a/docs/admin/apache-conf-example.rst +++ b/docs/admin/apache-conf-example.rst @@ -66,14 +66,18 @@ Below config if for an Apache Reverse Proxy configuration. # Directive to properly generate url (clone url) for RhodeCode ProxyPreserveHost On + # It allows request bodies to be sent to the backend using chunked transfer encoding. + SetEnv proxy-sendchunked 1 + + # Increase headers size for large Mercurial headers sent with many branches + LimitRequestLine 16380 + # Url to running RhodeCode instance. This is shown as `- URL:` when # running rccontrol status. + ProxyPass / http://127.0.0.1:10002/ timeout=7200 Keepalive=On ProxyPassReverse / http://127.0.0.1:10002/ - # Increase headers for large Mercurial headers - LimitRequestLine 16380 - # strict http prevents from https -> http downgrade Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"