docs: updated Apache config with chunked proxy option

This commit is contained in:
Marcin Kuzminski 2019-03-04 16:44:25 +01:00
parent 7156dbfb6d
commit 14efa7652a

View file

@ -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"