Added turn server

This commit is contained in:
Craige McWhirter 2020-03-30 20:04:25 +10:00
parent 850b095b7f
commit d3ab9a886b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -4,6 +4,10 @@
{ {
imports = [
../secrets/matrix.nix
];
services = { services = {
matrix-synapse = { matrix-synapse = {
@ -31,6 +35,13 @@
max_upload_size = "100M"; max_upload_size = "100M";
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_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; url_preview_enabled = true;
}; };