increase upload limit for both matrix and calibre-web
This commit is contained in:
parent
1076452eff
commit
0a0da37807
|
@ -36,6 +36,7 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_pass http://localhost:8083/;
|
proxy_pass http://localhost:8083/;
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
client_max_body_size 50M;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
max_upload_size = "100M";
|
||||||
server_name = "sealight.xyz";
|
server_name = "sealight.xyz";
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue