Skip to content

Commit

Permalink
matrix: increase media upload size
Browse files Browse the repository at this point in the history
xanderio committed Dec 6, 2024
1 parent 16fc0f7 commit 08027d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hosts/carrot/matrix.nix
Original file line number Diff line number Diff line change
@@ -47,7 +47,12 @@ in
locations."/".extraConfig = ''
return 404;
'';
locations."/_matrix".proxyPass = "http://[::1]:8008";
locations."/_matrix" = {
proxyPass = "http://[::1]:8008";
extraConfig = ''
client_max_body_size 1G;
'';
};
locations."/_synapse".proxyPass = "http://[::1]:8008";
};
virtualHosts."${turnRealm}" = {

0 comments on commit 08027d3

Please sign in to comment.