|
|
@ -34,10 +34,8 @@ server {
|
|
|
|
proxy_pass http://synapse:8008;
|
|
|
|
proxy_pass http://synapse:8008;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
|
|
|
|
|
|
|
|
# These are intentionally large.
|
|
|
|
|
|
|
|
# Note that Synapse enforces its own limits, which are smaller.
|
|
|
|
|
|
|
|
client_body_buffer_size 25M;
|
|
|
|
client_body_buffer_size 25M;
|
|
|
|
client_max_body_size 100M;
|
|
|
|
client_max_body_size {{ matrix_max_upload_size_mb }}M;
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|