Update nginx configuration to allow for larger uploads.
This commit is contained in:
parent
876fdf480d
commit
238ebcfcac
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,9 @@ server {
|
||||||
server_name your.server.name; # EDIT THIS
|
server_name your.server.name; # EDIT THIS
|
||||||
merge_slashes off;
|
merge_slashes off;
|
||||||
|
|
||||||
|
# Nginx default to only allow 1MB uploads.
|
||||||
|
client_max_body_size 20M;
|
||||||
|
|
||||||
location /_matrix/ {
|
location /_matrix/ {
|
||||||
proxy_pass http://127.0.0.1:6167$request_uri;
|
proxy_pass http://127.0.0.1:6167$request_uri;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
|
Loading…
Reference in a new issue