Update sample Nginx configuration to HTTP 1.1 (#14414)

Signed-off-by: Brad Jones <brad@kinksters.dating>
This commit is contained in:
Brad Jones 2022-11-11 10:28:05 -07:00 committed by GitHub
parent a3623af74e
commit 334a8324d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

1
changelog.d/14414.doc Normal file
View File

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

View File

@ -79,6 +79,9 @@ server {
# Nginx by default only allows file uploads up to 1M in size # 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 # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
client_max_body_size 50M; client_max_body_size 50M;
# Synapse responses may be chunked, which is an HTTP/1.1 feature.
proxy_http_version 1.1;
} }
} }
``` ```