increase upload limit for both matrix and calibre-web

This commit is contained in:
Anish Lakhwara 2023-01-10 22:10:54 +10:00
parent 1076452eff
commit 0a0da37807
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -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 = [
{ {