Skip to content

Commit 08027d3

Browse files
committed
matrix: increase media upload size
1 parent 16fc0f7 commit 08027d3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hosts/carrot/matrix.nix

+6-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ in
4747
locations."/".extraConfig = ''
4848
return 404;
4949
'';
50-
locations."/_matrix".proxyPass = "http://[::1]:8008";
50+
locations."/_matrix" = {
51+
proxyPass = "http://[::1]:8008";
52+
extraConfig = ''
53+
client_max_body_size 1G;
54+
'';
55+
};
5156
locations."/_synapse".proxyPass = "http://[::1]:8008";
5257
};
5358
virtualHosts."${turnRealm}" = {

0 commit comments

Comments
 (0)