services: add tls for coturn
This commit is contained in:
parent
584bdd0df0
commit
46bb780395
@ -62,14 +62,14 @@
|
||||
group = "turnserver";
|
||||
};
|
||||
# configure synapse to point users to coturn
|
||||
services.matrix-synapse = with config.services.coturn; {
|
||||
turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"];
|
||||
turn_shared_secret = static-auth-secret;
|
||||
turn_user_lifetime = "1h";
|
||||
};
|
||||
# services.matrix-synapse = with config.services.coturn; {
|
||||
# turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"];
|
||||
# turn_shared_secret = static-auth-secret;
|
||||
# turn_user_lifetime = "1h";
|
||||
# };
|
||||
|
||||
age.secrets."services/coturn/static-auth" = {
|
||||
file = ../../../secrets/services/coturn/static-auth.age;
|
||||
owner = "turnserver";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -17,5 +17,6 @@
|
||||
|
||||
services.jitsi-videobridge.openFirewall = true;
|
||||
security.acme.defaults.email = "webmaster@kabtop.de";
|
||||
security.acme.defaults.webroot = "/var/lib/acme/acme-challenge";
|
||||
security.acme.acceptTerms = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user