Couple of updates
This commit is contained in:
parent
db77b6de84
commit
24dcf6a90c
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
repeat = 1 # Ensure reproducibility of builds
|
#repeat = 1 # Ensure reproducibility of builds
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
type = "http";
|
type = "http";
|
||||||
x_forwarded = true;
|
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_certificate_path = "/var/lib/acme/synapse.mcwhirter.io/fullchain.pem";
|
||||||
tls_private_key_path = "/var/lib/acme/synapse.mcwhirter.io/key.pem";
|
tls_private_key_path = "/var/lib/acme/synapse.mcwhirter.io/key.pem";
|
||||||
turn_shared_secret = "IZI43ylg6aJdMwy5MyhUPqT8SJD4C3P1vDcIFMzqGvTXJiCjAEvnPcDCBZfig5Q6";
|
turn_shared_secret = "IZI43ylg6aJdMwy5MyhUPqT8SJD4C3P1vDcIFMzqGvTXJiCjAEvnPcDCBZfig5Q6";
|
||||||
|
@ -81,6 +81,9 @@
|
||||||
return 200 '${builtins.toJSON client}';
|
return 200 '${builtins.toJSON client}';
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 200M; # Needs to be no less than max_upload_size
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
"chat.mcwhirter.io" = {
|
"chat.mcwhirter.io" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue