Update nginx configuration to allow for larger uploads.

This commit is contained in:
Nabulator 2022-10-27 04:20:56 +00:00
parent 876fdf480d
commit 238ebcfcac

View File

@ -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;