Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 334a832

Browse files
authored
Update sample Nginx configuration to HTTP 1.1 (#14414)
Signed-off-by: Brad Jones <[email protected]>
1 parent a3623af commit 334a832

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

changelog.d/14414.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Edit sample Nginx reverse proxy configuration to use HTTP/1.1. Contributed by Brad Jones.

docs/reverse_proxy.md

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ server {
7979
# Nginx by default only allows file uploads up to 1M in size
8080
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
8181
client_max_body_size 50M;
82+
83+
# Synapse responses may be chunked, which is an HTTP/1.1 feature.
84+
proxy_http_version 1.1;
8285
}
8386
}
8487
```

0 commit comments

Comments
 (0)