Added turn server
This commit is contained in:
parent
850b095b7f
commit
d3ab9a886b
|
@ -4,6 +4,10 @@
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
../secrets/matrix.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
|
||||
matrix-synapse = {
|
||||
|
@ -31,6 +35,13 @@
|
|||
max_upload_size = "100M";
|
||||
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";
|
||||
turn_uris = [
|
||||
"turn:turn.mcwhirter.io:5349?transport=udp"
|
||||
"turn:turn.mcwhirter.io:5350?transport=udp"
|
||||
"turn:turn.mcwhirter.io:5349?transport=tcp"
|
||||
"turn:turn.mcwhirter.io:5350?transport=tcp"
|
||||
];
|
||||
url_preview_enabled = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue