18 lines
545 B
Django/Jinja
18 lines
545 B
Django/Jinja
-- {{ ansible_managed }}
|
|
|
|
------ Components ------
|
|
-- You can specify components to add hosts that provide special services,
|
|
-- like multi-user conferences, and transports.
|
|
-- For more information on components, see https://prosody.im/doc/components
|
|
|
|
Component "{{ item.name }}"
|
|
component_secret = "{{ item.secret }}"
|
|
|
|
{% if item.ssl %}
|
|
-- SSL Settings
|
|
ssl = {
|
|
key = "/etc/prosody/{{ prosody_certificates }}/{{ item.name }}/privkey.pem";
|
|
certificate = "/etc/prosody/{{ prosody_certificates }}/{{ item.name }}/fullchain.pem";
|
|
}
|
|
{% endif %}
|