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 17:28:05 +00:00
committed by GitHub
parent a3623af74e
commit 334a8324d3
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Edit sample Nginx reverse proxy configuration to use HTTP/1.1. Contributed by Brad Jones.
+3
View File
@@ -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;
}
}
```