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

Commit

Permalink
Update sample Nginx configuration to HTTP 1.1 (#14414)
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Jones <brad@kinksters.dating>
  • Loading branch information
bradjones1 committed Nov 11, 2022
1 parent a3623af commit 334a832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/14414.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Edit sample Nginx reverse proxy configuration to use HTTP/1.1. Contributed by Brad Jones.
3 changes: 3 additions & 0 deletions docs/reverse_proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
```
Expand Down

0 comments on commit 334a832

Please sign in to comment.