custom domain additions and direct TLS port fix
This commit is contained in:
parent
22d516be14
commit
d5052c3e74
|
@ -10,7 +10,8 @@ prosody_core_modules_path: "/usr/lib/prosody/modules/"
|
||||||
prosody_community_modules_path: "/usr/lib/prosody-modules"
|
prosody_community_modules_path: "/usr/lib/prosody-modules"
|
||||||
prosody_custom_script_path: '/etc/prosody/custom_scripts'
|
prosody_custom_script_path: '/etc/prosody/custom_scripts'
|
||||||
prosody_statistics: ''
|
prosody_statistics: ''
|
||||||
prosody_direct_tls_ports: 5223
|
prosody_direct_tls_ports: 5223 # keep empty if you want this feature disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
firewall_module_enabled: 'true'
|
firewall_module_enabled: 'true'
|
||||||
|
|
|
@ -172,9 +172,9 @@ certificates = "{{ prosody_certificates }}"
|
||||||
-- HTTPS currently only supports a single certificate, specify it here:
|
-- HTTPS currently only supports a single certificate, specify it here:
|
||||||
--https_certificate = "certs/localhost.crt"
|
--https_certificate = "certs/localhost.crt"
|
||||||
|
|
||||||
{% if prosody_direct_tls_ports is defined %}
|
{% if prosody_direct_tls_ports is defined and prosody_direct_tls_ports is not none %}
|
||||||
-- Direct TLS connection ports eg. 5223, 443
|
-- Direct TLS connection ports eg. 5223, 443
|
||||||
c2s_direct_tls_ports = { {{ prosody_direct_tls_ports }} }
|
c2s_direct_tls_ports = { {{ prosody_direct_tls_ports }} }
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if prosody_component_interface is defined %}
|
{% if prosody_component_interface is defined %}
|
||||||
|
|
Loading…
Reference in a new issue