increase upload limit for both matrix and calibre-web
This commit is contained in:
@@ -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 = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user