summaryrefslogtreecommitdiff
path: root/ejabberd/ejabberd.yml.diff
blob: ac196701134893c3a8ac799ca180cc02cf054177 (plain)
  1. --- ejabberd.yml.orig 2014-11-21 13:06:14.000000000 +0100
  2. +++ ejabberd.yml 2016-02-27 18:34:12.000000000 +0100
  3. @@ -72,7 +72,8 @@
  4.  ## - "example.org"
  5. ##
  6. hosts:
  7. - - "localhost"
  8. + - "example.org"
  9. + - "guest.example.org"
  10. ##
  11. ## route_subdomains: Delegate subdomains to other XMPP servers.
  12. @@ -98,14 +99,14 @@
  13. ## certificate, specify the full path to the
  14. ## file and uncomment this line:
  15. ##
  16. - certfile: "/etc/ejabberd/ejabberd.pem"
  17. - starttls: true
  18. + certfile: "/etc/ejabberd/chat.example.org.pem"
  19. + starttls_required: true
  20. ##
  21. ## Custom OpenSSL options
  22. ##
  23. protocol_options:
  24. - "no_sslv3"
  25. - ## - "no_tlsv1"
  26. + - "no_tlsv1"
  27. max_stanza_size: 65536
  28. shaper: c2s_shaper
  29. access: c2s
  30. @@ -148,29 +149,62 @@
  31. module: ejabberd_http
  32. ## request_handlers:
  33. ## "/pub/archive": mod_http_fileserver
  34. - web_admin: true
  35. - http_poll: true
  36. + web_admin: false
  37. + http_poll: false
  38. http_bind: true
  39. ## register: true
  40. - captcha: true
  41. + captcha: false
  42. +
  43. + -
  44. + port: 3478
  45. + transport: udp
  46. + module: ejabberd_stun
  47. + -
  48. + port: 3478
  49. + module: ejabberd_stun
  50. + -
  51. + port: 5349
  52. + module: ejabberd_stun
  53. + certfile: "/etc/ejabberd/chat.example.org.pem"
  54. + tls: true
  55. + turn_ip: "188.183.5.254"
  56. + auth_type: user
  57. + auth_realm: "EXAMPLE.ORG"
  58. +## -
  59. +## port: 5060
  60. +## transport: udp
  61. +## module: ejabberd_sip
  62. +## -
  63. +## port: 5060
  64. +## module: ejabberd_sip
  65. + -
  66. + port: 5061
  67. + module: ejabberd_sip
  68. + certfile: "/etc/ejabberd/chat.example.org.pem"
  69. + tls: true
  70. ##
  71. ## s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.
  72. ## Allowed values are: false optional required required_trusted
  73. ## You must specify a certificate file.
  74. ##
  75. +## s2s_use_starttls: optional
  76. s2s_use_starttls: optional
  77. ##
  78. ## s2s_certfile: Specify a certificate file.
  79. ##
  80. -s2s_certfile: "/etc/ejabberd/ejabberd.pem"
  81. +## s2s_certfile: "/path/to/ssl.pem"
  82. +s2s_certfile: "/etc/ejabberd/chat.example.org.pem"
  83. ## Custom OpenSSL options
  84. ##
  85. +## s2s_protocol_options:
  86. +## - "no_sslv3"
  87. +## - "no_tlsv1"
  88. s2s_protocol_options:
  89. - "no_sslv3"
  90. -## - "no_tlsv1"
  91. + - "no_tlsv1"
  92. ##
  93. ## domain_certfile: Specify a different certificate for each served hostname.
  94. @@ -289,6 +323,14 @@
  95. ## auth_method:
  96. ## - internal
  97. ## - anonymous
  98. +host_config:
  99. + "example.org":
  100. + auth_method:
  101. + - pam
  102. + "guest.example.org":
  103. + auth_method: anonymous
  104. + allow_multiple_connections: true
  105. + anonymous_protocol: both
  106. ### ==============
  107. ### DATABASE SETUP
  108. @@ -472,7 +514,7 @@
  109. ## In-band registration allows registration of any possible username.
  110. ## To disable in-band registration, replace 'allow' with 'deny'.
  111. register:
  112. - all: allow
  113. + all: deny
  114. ## Only allow to register from localhost
  115. trusted_network:
  116. loopback: allow
  117. @@ -553,7 +595,7 @@
  118. ## accesslog: "/var/log/ejabberd/access.log"
  119. mod_last: {}
  120. mod_muc:
  121. - ## host: "conference.@HOST@"
  122. + host: "conference.example.org"
  123. access: muc
  124. access_create: muc_create
  125. access_persistent: muc_create
  126. @@ -615,11 +657,12 @@
  127. ##
  128. ## Local c2s or remote s2s users cannot register accounts
  129. ##
  130. - ## access_from: deny
  131. + access_from: deny
  132. access: register
  133. mod_roster: {}
  134. mod_shared_roster: {}
  135. + mod_sip: {}
  136. mod_stats: {}
  137. mod_time: {}
  138. mod_vcard: {}