fuuko/matrix: Raise upload limit to 50M
This commit is contained in:
parent
050359f8ee
commit
2a4cbe6ffb
|
@ -72,6 +72,8 @@ in
|
||||||
disable_existing_loggers = false;
|
disable_existing_loggers = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
max_upload_size = "50M";
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# I’m okay with using matrix.org as trusted key server
|
# I’m 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};
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue