coturn: set port to 3478

synapse: use turns instead of turn
This commit is contained in:
2023-08-30 23:36:04 +08:00
parent d5673acf64
commit c5974e5d5d
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ inputs:
options.nixos.services.coturn = let inherit (inputs.lib) mkOption types; in
{
enable = mkOption { type = types.bool; default = false; };
port = mkOption { type = types.ints.unsigned; default = 5349; };
port = mkOption { type = types.ints.unsigned; default = 3478; };
hostname = mkOption { type = types.str; default = "coturn.chn.moe"; };
};
config =

View File

@@ -56,7 +56,7 @@ inputs:
admin_contact = "mailto:chn@chn.moe";
enable_registration = true;
registrations_require_3pid = [ "email" ];
turn_uris = [ "turn:coturn.chn.moe" ];
turn_uris = [ "turns:coturn.chn.moe" ];
max_upload_size = "1024M";
web_client_location = "https://element.chn.moe/";
serve_server_wellknown = true;