fuuko/matrix: Raise upload limit to 50M

This commit is contained in:
Simon Bruder 2021-09-25 17:18:23 +02:00
parent 050359f8ee
commit 2a4cbe6ffb
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -72,6 +72,8 @@ in
disable_existing_loggers = false; disable_existing_loggers = false;
}; };
max_upload_size = "50M";
extraConfig = '' extraConfig = ''
# Im okay with using matrix.org as trusted key server # Im okay with using matrix.org as trusted key server
suppress_key_server_warning: true suppress_key_server_warning: true
@ -108,6 +110,10 @@ in
in in
{ {
proxyPass = "http://${listenerCfg.bind_address}:${toString listenerCfg.port}"; proxyPass = "http://${listenerCfg.bind_address}:${toString listenerCfg.port}";
extraConfig = ''
client_max_body_size ${cfg.max_upload_size};
'';
}; };
}; };