diff --git a/roles/iohk.nix b/roles/iohk.nix index 1914126..92d7f03 100644 --- a/roles/iohk.nix +++ b/roles/iohk.nix @@ -6,7 +6,7 @@ nix = { extraOptions = '' - repeat = 1 # Ensure reproducibility of builds + #repeat = 1 # Ensure reproducibility of builds ''; }; diff --git a/roles/matrix.nix b/roles/matrix.nix index 5f81b03..3ef9331 100644 --- a/roles/matrix.nix +++ b/roles/matrix.nix @@ -32,7 +32,7 @@ type = "http"; x_forwarded = true; } ]; - max_upload_size = "100M"; + max_upload_size = "200M"; # Also set client_max_body_size to at least this tls_certificate_path = "/var/lib/acme/synapse.mcwhirter.io/fullchain.pem"; tls_private_key_path = "/var/lib/acme/synapse.mcwhirter.io/key.pem"; turn_shared_secret = "IZI43ylg6aJdMwy5MyhUPqT8SJD4C3P1vDcIFMzqGvTXJiCjAEvnPcDCBZfig5Q6"; @@ -81,6 +81,9 @@ return 200 '${builtins.toJSON client}'; ''; }; + extraConfig = '' + client_max_body_size 200M; # Needs to be no less than max_upload_size + ''; }; "chat.mcwhirter.io" = { forceSSL = true;