Skip to content

Commit

Permalink
chore: stun
Browse files Browse the repository at this point in the history
  • Loading branch information
sv0 committed Aug 13, 2023
1 parent 5131675 commit e05f793
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions templates/prosody.cfg.lua.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
--

---------- Server-wide settings ----------
-- Settings in this section apply to the whole server and are the default settings
-- for any virtual hosts

-- This is a (by default, empty) list of accounts that are admins
-- for the server. Note that you must create the accounts separately
-- (see https://prosody.im/doc/creating_accounts for info)
-- Example: admins = { "[email protected]", "[email protected]" }
admins = {
{% for admin in prosody_admins %}
Expand Down Expand Up @@ -74,7 +68,6 @@ modules_enabled = {
"{{ module }}";
{% endfor %}


-- External
{% for module in prosody_external_modules %}
"{{ module }}";
Expand Down Expand Up @@ -342,11 +335,19 @@ Component "{{ prosody_proxy }}" "proxy65"
}
{% endif %}

-- external_services = {
-- -- ["stun.conversations.im"] = {
-- ["{{ prosody_vhost }}"] = {
-- port="{{ prosody_stun_port }}";
-- transport="udp";
-- type="stun";
-- };
-- };

external_services = {
-- ["stun.conversations.im"] = {
["{{ prosody_vhost }}"] = {
port="{{ prosody_stun_port }}";
["stun.svyrydiuk.eu"] = {
port="3478";
transport="udp";
type="stun";
};
}
};

0 comments on commit e05f793

Please sign in to comment.