services: add turn to matrix
This commit is contained in:
parent
d9f63f46ba
commit
8ee8de4d3f
@ -62,11 +62,11 @@
|
|||||||
group = "turnserver";
|
group = "turnserver";
|
||||||
};
|
};
|
||||||
# configure synapse to point users to coturn
|
# configure synapse to point users to coturn
|
||||||
# services.matrix-synapse = with config.services.coturn; {
|
services.matrix-synapse = with config.services.coturn; {
|
||||||
# turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"];
|
turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"];
|
||||||
# turn_shared_secret = static-auth-secret;
|
turn_shared_secret = static-auth-secret;
|
||||||
# turn_user_lifetime = "1h";
|
turn_user_lifetime = "1h";
|
||||||
# };
|
};
|
||||||
|
|
||||||
age.secrets."services/coturn/static-auth" = {
|
age.secrets."services/coturn/static-auth" = {
|
||||||
file = ../../../secrets/services/coturn/static-auth.age;
|
file = ../../../secrets/services/coturn/static-auth.age;
|
||||||
|
Loading…
Reference in New Issue
Block a user