# HG changeset patch # User Marcin Kuzminski # Date 2019-03-04 15:44:25 # Node ID 8ce58b9bb04c18dc5831882da71691438b1382e9 # Parent 57fb7c38655b8b99f0502a5470ccf27e676a3663 docs: updated Apache config with chunked proxy option diff --git a/docs/admin/apache-conf-example.rst b/docs/admin/apache-conf-example.rst --- 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 Pr # 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"