summary refs log tree commit diff
path: root/docs/reverse_proxy.md
diff options
context:
space:
mode:
authorBrad Jones <brad@kinksters.dating>2022-11-11 10:28:05 -0700
committerGitHub <noreply@github.com>2022-11-11 17:28:05 +0000
commit334a8324d3db26da32a1f015ecf24a1bd25551db (patch)
tree9c1cf42883e1ad07c258113d828c29b6c22a20ba /docs/reverse_proxy.md
parentAdd an Admin API endpoint for looking up users based on 3PID (#14405) (diff)
downloadsynapse-334a8324d3db26da32a1f015ecf24a1bd25551db.tar.xz
Update sample Nginx configuration to HTTP 1.1 (#14414)
Signed-off-by: Brad Jones <brad@kinksters.dating>
Diffstat (limited to 'docs/reverse_proxy.md')
-rw-r--r--docs/reverse_proxy.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md
index 4e7a1d4435..48dbc1c58e 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -79,6 +79,9 @@ server {
         # Nginx by default only allows file uploads up to 1M in size
         # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
         client_max_body_size 50M;
+	
+	# Synapse responses may be chunked, which is an HTTP/1.1 feature.
+	proxy_http_version 1.1;
     }
 }
 ```