prosody/defaults/main.yml

71 lines
2.1 KiB
YAML

---
container_distribution: 'stretch'
backports_uri: http://ftp.nl.debian.org/debian/
backports_components: "{{ container_distribution }}-backports main contrib non-free"
prosody_admins: "'admin@example.org'"
prosody_contact_info: "'support@example.org'"
prosody_abuse_info: "'abuse@example.org'"
prosody_core_modules_path: "/usr/lib/prosody/modules/"
prosody_community_modules_path: "/usr/lib/prosody-modules"
prosody_installer_plugin_path: '/etc/prosody/custom_scripts'
prosody_statistics: ''
prosody_direct_tls_ports: 5223
prosody_c2s_direct_tls_ports: 5223
prosody_s2s_direct_tls_ports: 5270
prosody_interfaces: '*'
firewall_module_enabled: 'true'
## Firewall: list here what you want to block
firewall_servers_blocked:
- server1.org
- server2.org
firewall_users_blocked:
- user@server.org
- user2@server.org
#PROSODY CONFIG
prosody_allow_registration: 'false'
prosody_certificates: 'certs'
server_name: 'example.org'
prosody_c2s_encryption: 'true'
prosody_s2s_auth: 'false'
prosody_s2s_encryption: 'true'
prosody_insecure_domains: 'server_insecure_address.com'
prosody_secure_domains: 'server_secure_address.com'
prosody_c2s_stanza_size_limit: '256 * 1024'
prosody_s2s_stanza_size_limit: '512 * 1024'
prosody_storage: 'internal'
prosody_network_backend: "epoll"
prosody_http_host: "example.org"
prosody_http_external_url: "https://example.org"
prosody_http_interfaces: '*'
prosody_http_ports: '5281, 5280 '
prosody_http_paths:
- name: 'files'
path: '/files/'
- name: 'bosh'
path: '/http-bind'
- name: 'file_share'
path: '/upload'
prosody_archive_expires_after: '1w'
#If using sql storage
prosody_sql_driver: 'SQLite3' # postgresql sqlite3 or mysql
prosody_sql_databasename: 'prosody'
prosody_sql_username: 'admin'
prosody_sql_passwd: 'changeme'
prosody_sql_host: 'localhost'
prosody_loglevel: 'info'
prosody_log_path: '/var/log/prosody/prosody.log'
prosody_err_log: '/var/log/prosody/prosody.err'
#PROSODY EXTERNAL COMPONENT
## uncomment if you want component to listen on external interface
#prosody_external_interface:
# - component_ports: '5347'
# component_interface: 'example.org'