mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
Update sample Nginx configuration to HTTP 1.1 (#14414)
Signed-off-by: Brad Jones <brad@kinksters.dating>
This commit is contained in:
parent
a3623af74e
commit
334a8324d3
2 changed files with 4 additions and 0 deletions
1
changelog.d/14414.doc
Normal file
1
changelog.d/14414.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Edit sample Nginx reverse proxy configuration to use HTTP/1.1. Contributed by Brad Jones.
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue