GoodiesHQ

Untitled

Aug 28th, 2017
932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 18.92 KB | None | 0 0
  1. ###
  2. ###'              ejabberd configuration file
  3. ###
  4. ###
  5.  
  6. ### The parameters used in this configuration file are explained in more detail
  7. ### in the ejabberd Installation and Operation Guide.
  8. ### Please consult the Guide in case of doubts, it is included with
  9. ### your copy of ejabberd, and is also available online at
  10. ### http://www.process-one.net/en/ejabberd/docs/
  11.  
  12. ### The configuration file is written in YAML.
  13. ### Refer to http://en.wikipedia.org/wiki/YAML for the brief description.
  14. ### However, ejabberd treats different literals as different types:
  15. ###
  16. ### - unquoted or single-quoted strings. They are called "atoms".
  17. ###   Example: dog, 'Jupiter', '3.14159', YELLOW
  18. ###
  19. ### - numeric literals. Example: 3, -45.0, .0
  20. ###
  21. ### - quoted or folded strings.
  22. ###   Examples of quoted string: "Lizzard", "orange".
  23. ###   Example of folded string:
  24. ###   > Art thou not Romeo,
  25. ###     and a Montague?
  26. ---
  27. ###.  =======
  28. ###'  LOGGING
  29.  
  30. ##
  31. ## loglevel: Verbosity of log files generated by ejabberd.
  32. ## 0: No ejabberd log at all (not recommended)
  33. ## 1: Critical
  34. ## 2: Error
  35. ## 3: Warning
  36. ## 4: Info
  37. ## 5: Debug
  38. ##
  39. loglevel: 4
  40.  
  41. ##
  42. ## rotation: Disable ejabberd's internal log rotation, as the Debian package
  43. ## uses logrotate(8).
  44. log_rotate_size: 0
  45. log_rotate_date: ""
  46.  
  47. ##
  48. ## overload protection: If you want to limit the number of messages per second
  49. ## allowed from error_logger, which is a good idea if you want to avoid a flood
  50. ## of messages when system is overloaded, you can set a limit.
  51. ## 100 is ejabberd's default.
  52. log_rate_limit: 100
  53.  
  54. ##
  55. ## watchdog_admins: Only useful for developers: if an ejabberd process
  56. ## consumes a lot of memory, send live notifications to these XMPP
  57. ## accounts.
  58. ##
  59. ## watchdog_admins:
  60.  
  61. ###.  ===============
  62. ###'  NODE PARAMETERS
  63.  
  64. ##
  65. ## net_ticktime: Specifies net_kernel tick time in seconds. This options must have
  66. ## identical value on all nodes, and in most cases shouldn't be changed at all from
  67. ## default value.
  68. ##
  69. ## net_ticktime: 60
  70.  
  71. ###.  ================
  72. ###'  SERVED HOSTNAMES
  73.  
  74. ##
  75. ## hosts: Domains served by ejabberd.
  76. ## You can define one or several, for example:
  77. ## hosts:
  78. ##   - "example.net"
  79. ##   - "example.com"
  80. ##   - "example.org"
  81. ##
  82. hosts:
  83.  - "example.com"
  84.  
  85. ##  - "localhost"
  86.  
  87. ##
  88. ## route_subdomains: Delegate subdomains to other XMPP servers.
  89. ## For example, if this ejabberd serves example.org and you want
  90. ## to allow communication with an XMPP server called im.example.org.
  91. ##
  92. ## route_subdomains: s2s
  93.  
  94. ###.  ===============
  95. ###'  LISTENING PORTS
  96.  
  97. ## Define common macros used by listeners
  98. define_macro:
  99.   'CERTFILE': "/etc/ejabberd/ejabberd.pem"
  100. ##  'CIPHERS': "ECDH:DH:!3DES:!aNULL:!eNULL:!MEDIUM@STRENGTH"
  101.   'TLSOPTS':
  102.    - "no_sslv3"
  103.     - "no_tlsv1"
  104.     - "cipher_server_preference"
  105.     - "no_compression"
  106. ##  'DHFILE': "/path/to/dhparams.pem" # generated with: openssl dhparam -out dhparams.pem 2048
  107.  
  108. ##
  109. ## listen: The ports ejabberd will listen on, which service each is handled
  110. ## by and what options to start it with.
  111. ##
  112. listen:
  113.  -
  114.     port: 5222
  115.     ip: "::"
  116.     module: ejabberd_c2s
  117.     starttls_required: true
  118.     certfile: 'CERTFILE'
  119.     protocol_options: 'TLSOPTS'
  120.     ## dhfile: 'DHFILE'
  121.     ## ciphers: 'CIPHERS'
  122.     max_stanza_size: 65536
  123.     shaper: c2s_shaper
  124.     access: c2s
  125.     resend_on_timeout: if_offline
  126.   -
  127.     port: 5269
  128.     ip: "::"
  129.     module: ejabberd_s2s_in
  130.   -
  131.     port: 8443
  132.     ip: "::"
  133.     module: ejabberd_http
  134.     request_handlers:
  135.       "/ws": ejabberd_http_ws
  136.       "/bosh": mod_bosh
  137.       "/api": mod_http_api
  138.     ##  "/pub/archive": mod_http_fileserver
  139.     web_admin: true
  140.     ## register: true
  141.     ## captcha: true
  142.     tls: true
  143.     certfile: 'CERTFILE'
  144.     protocol_options: 'TLSOPTS'
  145.   ##
  146.   ## ejabberd_service: Interact with external components (transports, ...)
  147.   ##
  148.   ## -
  149.   ##   port: 8888
  150.   ##   ip: "::"
  151.   ##   module: ejabberd_service
  152.   ##   access: all
  153.   ##   shaper_rule: fast
  154.   ##   ip: "127.0.0.1"
  155.   ##   privilege_access:
  156.   ##      roster: "both"
  157.   ##      message: "outgoing"
  158.   ##      presence: "roster"
  159.   ##   delegations:
  160.   ##      "urn:xmpp:mam:1":
  161.   ##        filtering: ["node"]
  162.   ##      "http://jabber.org/protocol/pubsub":
  163.   ##        filtering: []
  164.   ##   hosts:
  165.   ##     "icq.example.org":
  166.   ##       password: "secret"
  167.   ##     "sms.example.org":
  168.   ##       password: "secret"
  169.  
  170.   ##
  171.   ## ejabberd_stun: Handles STUN Binding requests
  172.   ##
  173.   ## -
  174.   ##   port: 3478
  175.   ##   transport: udp
  176.   ##   module: ejabberd_stun
  177.  
  178.   ##
  179.   ## To handle XML-RPC requests that provide admin credentials:
  180.   ##
  181.   ## -
  182.   ##   port: 4560
  183.   ##   ip: "::"
  184.   ##   module: ejabberd_xmlrpc
  185.   ##   access_commands: {}
  186.  
  187.   ##
  188.   ## To enable secure http upload
  189.   ##
  190.   ## -
  191.   ##   port: 5444
  192.   ##   ip: "::"
  193.   ##   module: ejabberd_http
  194.   ##   request_handlers:
  195.   ##     "": mod_http_upload
  196.   ##   tls: true
  197.   ##   certfile: 'CERTFILE'
  198.   ##   protocol_options: 'TLSOPTS'
  199.   ##   dhfile: 'DHFILE'
  200.   ##   ciphers: 'CIPHERS'
  201.  
  202. ## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
  203. ## password storage (see auth_password_format option).
  204. disable_sasl_mechanisms: "digest-md5"
  205.  
  206. ###.  ==================
  207. ###'  S2S GLOBAL OPTIONS
  208.  
  209. ##
  210. ## s2s_use_starttls: Enable STARTTLS for S2S connections.
  211. ## Allowed values are: false optional required required_trusted
  212. ## You must specify a certificate file.
  213. ##
  214. s2s_use_starttls: required
  215.  
  216. ##
  217. ## s2s_certfile: Specify a certificate file.
  218. ##
  219. s2s_certfile: 'CERTFILE'
  220.  
  221. ## Custom OpenSSL options
  222. ##
  223. s2s_protocol_options: 'TLSOPTS'
  224.  
  225. ##
  226. ## domain_certfile: Specify a different certificate for each served hostname.
  227. ##
  228. ## host_config:
  229. ##   "example.org":
  230. ##     domain_certfile: "/path/to/example_org.pem"
  231. ##   "example.com":
  232. ##     domain_certfile: "/path/to/example_com.pem"
  233.  
  234. ##
  235. ## S2S whitelist or blacklist
  236. ##
  237. ## Default s2s policy for undefined hosts.
  238. ##
  239. ## s2s_access: s2s
  240.  
  241. ##
  242. ## Outgoing S2S options
  243. ##
  244. ## Preferred address families (which to try first) and connect timeout
  245. ## in seconds.
  246. ##
  247. ## outgoing_s2s_families:
  248. ##   - ipv4
  249. ##   - ipv6
  250. ## outgoing_s2s_timeout: 190
  251.  
  252. ###.  ==============
  253. ###'  AUTHENTICATION
  254.  
  255. ##
  256. ## auth_method: Method used to authenticate the users.
  257. ## The default method is the internal.
  258. ## If you want to use a different method,
  259. ## comment this line and enable the correct ones.
  260. ##
  261. ## auth_method: internal
  262.  
  263. ##
  264. ## Store the plain passwords or hashed for SCRAM:
  265. ## auth_password_format: plain
  266. auth_password_format: scram
  267. ##
  268. ## Define the FQDN if ejabberd doesn't detect it:
  269. ## fqdn: "server3.example.com"
  270. fqdn: "example.com"
  271.  
  272. ##
  273. ## Authentication using external script
  274. ## Make sure the script is executable by ejabberd.
  275. ##
  276. ## auth_method: external
  277. ## extauth_program: "/path/to/authentication/script"
  278.  
  279. ##
  280. ## Authentication using SQL
  281. ## Remember to setup a database in the next section.
  282. ##
  283. auth_method: sql
  284.  
  285. ##
  286. ## Authentication using PAM
  287. ##
  288. ## auth_method: pam
  289. ## pam_service: "pamservicename"
  290.  
  291. ##
  292. ## Authentication using LDAP
  293. ##
  294. ## auth_method: ldap
  295. ##
  296. ## List of LDAP servers:
  297. ## ldap_servers:
  298. ##   - "localhost"
  299. ##
  300. ## Encryption of connection to LDAP servers:
  301. ## ldap_encrypt: none
  302. ## ldap_encrypt: tls
  303. ##
  304. ## Port to connect to on LDAP servers:
  305. ## ldap_port: 389
  306. ## ldap_port: 636
  307. ##
  308. ## LDAP manager:
  309. ## ldap_rootdn: "dc=example,dc=com"
  310. ##
  311. ## Password of LDAP manager:
  312. ## ldap_password: "******"
  313. ##
  314. ## Search base of LDAP directory:
  315. ## ldap_base: "dc=example,dc=com"
  316. ##
  317. ## LDAP attribute that holds user ID:
  318. ## ldap_uids:
  319. ##   - "mail": "%[email protected]"
  320. ##
  321. ## LDAP filter:
  322. ## ldap_filter: "(objectClass=shadowAccount)"
  323.  
  324. ##
  325. ## Anonymous login support:
  326. ##   auth_method: anonymous
  327. ##   anonymous_protocol: sasl_anon | login_anon | both
  328. ##   allow_multiple_connections: true | false
  329. ##
  330. ## host_config:
  331. ##   "public.example.org":
  332. ##     auth_method: anonymous
  333. ##     allow_multiple_connections: false
  334. ##     anonymous_protocol: sasl_anon
  335. ##
  336. ## To use both anonymous and internal authentication:
  337. ##
  338. ## host_config:
  339. ##   "public.example.org":
  340. ##     auth_method:
  341. ##       - internal
  342. ##       - anonymous
  343.  
  344. ###.  ==============
  345. ###'  DATABASE SETUP
  346.  
  347. ## ejabberd by default uses the internal Mnesia database,
  348. ## so you do not necessarily need this section.
  349. ## This section provides configuration examples in case
  350. ## you want to use other database backends.
  351. ## Please consult the ejabberd Guide for details on database creation.
  352.  
  353. ##
  354. ## MySQL server:
  355. ##
  356. ## sql_type: mysql
  357. ## sql_server: "server"
  358. ## sql_database: "database"
  359. ## sql_username: "username"
  360. ## sql_password: "password"
  361. ##
  362. ## If you want to specify the port:
  363. ## sql_port: 1234
  364.  
  365. ##
  366. ## PostgreSQL server:
  367. ##
  368. sql_type: pgsql
  369. sql_server: "localhost"
  370. sql_database: "ejabberd"
  371. sql_username: "ejabberd"
  372. sql_password: "Passw0rd!"
  373. ##
  374. ## If you want to specify the port:
  375. sql_port: 5432
  376. ## sql_port: 1234
  377. ##
  378. ## If you use PostgreSQL, have a large database, and need a
  379. ## faster but inexact replacement for "select count(*) from users"
  380. ##
  381. ## pgsql_users_number_estimate: true
  382.  
  383. ##
  384. ## SQLite:
  385. ##
  386. ## sql_type: sqlite
  387. ## sql_database: "/path/to/database.db"
  388.  
  389. ##
  390. ## ODBC compatible or MSSQL server:
  391. ##
  392. ## sql_type: odbc
  393. ## sql_server: "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"
  394.  
  395. ##
  396. ## Number of connections to open to the database for each virtual host
  397. ##
  398. ## sql_pool_size: 10
  399.  
  400. ##
  401. ## Interval to make a dummy SQL request to keep the connections to the
  402. ## database alive. Specify in seconds: for example 28800 means 8 hours
  403. ##
  404. ## sql_keepalive_interval: undefined
  405.  
  406. ###.  ===============
  407. ###'  TRAFFIC SHAPERS
  408.  
  409. shaper:
  410.  ##
  411.   ## The "normal" shaper limits traffic speed to 1000 B/s
  412.   ##
  413.   normal: 1000
  414.  
  415.   ##
  416.   ## The "fast" shaper limits traffic speed to 50000 B/s
  417.   ##
  418.   fast: 50000
  419.  
  420. ##
  421. ## This option specifies the maximum number of elements in the queue
  422. ## of the FSM. Refer to the documentation for details.
  423. ##
  424. max_fsm_queue: 1000
  425.  
  426. ###.   ====================
  427. ###'   ACCESS CONTROL LISTS
  428. acl:
  429.  ##
  430.   ## The 'admin' ACL grants administrative privileges to XMPP accounts.
  431.   ## You can put here as many accounts as you want.
  432.   ##
  433.   admin:
  434.      user:
  435.       - "@localhost"
  436.        - "[email protected]"
  437.  
  438.   ##
  439.   ## Blocked users
  440.   ##
  441.   ## blocked:
  442.   ##   user:
  443.   ##     - "[email protected]"
  444.   ##     - "test"
  445.  
  446.   ## Local users: don't modify this.
  447.   ##
  448.   local:
  449.     user_regexp: ""
  450.  
  451.   ##
  452.   ## More examples of ACLs
  453.   ##
  454.   ## jabberorg:
  455.   ##   server:
  456.   ##     - "jabber.org"
  457.   ## aleksey:
  458.   ##   user:
  459.   ##     - "[email protected]"
  460.   ## test:
  461.   ##   user_regexp: "^test"
  462.   ##   user_glob: "test*"
  463.  
  464.   ##
  465.   ## Loopback network
  466.   ##
  467.   loopback:
  468.     ip:
  469.      - "127.0.0.0/8"
  470.       - "::1/128"
  471.       - "::FFFF:127.0.0.1/128"
  472.  
  473.   ##
  474.   ## Bad XMPP servers
  475.   ##
  476.   ## bad_servers:
  477.   ##   server:
  478.   ##     - "xmpp.zombie.org"
  479.   ##     - "xmpp.spam.com"
  480.  
  481. ##
  482. ## Define specific ACLs in a virtual host.
  483. ##
  484. ## host_config:
  485. ##   "localhost":
  486. ##     acl:
  487. ##       admin:
  488. ##         user:
  489. ##           - "bob-local@localhost"
  490.  
  491. ###.  ============
  492. ###'  SHAPER RULES
  493.  
  494. shaper_rules:
  495.  ## Maximum number of simultaneous sessions allowed for a single user:
  496.   max_user_sessions: 10
  497.   ## Maximum number of offline messages that users can have:
  498.   max_user_offline_messages:
  499.     - 5000: admin
  500.     - 100
  501.   ## For C2S connections, all users except admins use the "normal" shaper
  502.   c2s_shaper:
  503.     - none: admin
  504.     - normal
  505.   ## All S2S connections use the "fast" shaper
  506.   s2s_shaper: fast
  507.  
  508. ###.  ============
  509. ###'  ACCESS RULES
  510. access_rules:
  511.  ## This rule allows access only for local users:
  512.   local:
  513.     - allow: local
  514.   ## Only non-blocked users can use c2s connections:
  515.   c2s:
  516.     - deny: blocked
  517.     - allow
  518.   ## Only admins can send announcement messages:
  519.   announce:
  520.     - allow: admin
  521.   ## Only admins can use the configuration interface:
  522.   configure:
  523.     - allow: admin
  524.   ## Only accounts of the local ejabberd server can create rooms:
  525.   muc_create:
  526.     - allow: local
  527.   ## Only accounts on the local ejabberd server can create Pubsub nodes:
  528.   pubsub_createnode:
  529.     - allow: all
  530. # - allow: local
  531.   ## In-band registration allows registration of any possible username.
  532.   ## To disable in-band registration, replace 'allow' with 'deny'.
  533.   register:
  534.    - allow
  535.   ## Only allow to register from localhost
  536.   trusted_network:
  537.     - allow: loopback
  538.   ## Do not establish S2S connections with bad servers
  539.   ## If you enable this you also have to uncomment "s2s_access: s2s"
  540.   ## s2s:
  541.   ##   - deny:
  542.   ##     - ip: "XXX.XXX.XXX.XXX/32"
  543.   ##   - deny:
  544.   ##     - ip: "XXX.XXX.XXX.XXX/32"
  545.   ##   - allow
  546.  
  547. ## ===============
  548. ## API PERMISSIONS
  549. ## ===============
  550. ##
  551. ## This section allows you to define who and using what method
  552. ## can execute commands offered by ejabberd.
  553. ##
  554. ## By default "console commands" section allow executing all commands
  555. ## issued using ejabberdctl command, and "admin access" section allows
  556. ## users in admin acl that connect from 127.0.0.1 to  execute all
  557. ## commands except start and stop with any available access method
  558. ## (ejabberdctl, http-api, xmlrpc depending what is enabled on server).
  559. ##
  560. ## If you remove "console commands" there will be one added by
  561. ## default allowing executing all commands, but if you just change
  562. ## permissions in it, version from config file will be used instead
  563. ## of default one.
  564. ##
  565. api_permissions:
  566.   "console commands":
  567.     from:
  568.      - ejabberd_ctl
  569.     who: all
  570.     what: "*"
  571.   "admin access":
  572.     who:
  573.       - access:
  574.         - allow:
  575.           - acl: loopback
  576.           - acl: admin
  577.       - oauth:
  578.         - scope: "ejabberd:admin"
  579.         - access:
  580.           - allow:
  581.             - acl: loopback
  582.             - acl: admin
  583.     what:
  584.      - "*"
  585.       - "!stop"
  586.       - "!start"
  587.   "public commands":
  588.     who:
  589.       - ip: "127.0.0.1/8"
  590.     what:
  591.      - "status"
  592.       - "connected_users_number"
  593.  
  594. ## By default the frequency of account registrations from the same IP
  595. ## is limited to 1 account every 10 minutes. To disable, specify: infinity
  596. ## registration_timeout: 600
  597.  
  598. ##
  599. ## Define specific Access Rules in a virtual host.
  600. ##
  601. ## host_config:
  602. ##   "localhost":
  603. ##     access:
  604. ##       c2s:
  605. ##         - allow: admin
  606. ##         - deny
  607. ##       register:
  608. ##         - deny
  609.  
  610. ###.  ================
  611. ###'  DEFAULT LANGUAGE
  612.  
  613. ##
  614. ## language: Default language used for server messages.
  615. ##
  616. language: "en"
  617.  
  618. ##
  619. ## Set a different default language in a virtual host.
  620. ##
  621. ## host_config:
  622. ##   "localhost":
  623. ##     language: "ru"
  624.  
  625. ###.  =======
  626. ###'  CAPTCHA
  627.  
  628. ##
  629. ## Full path to a script that generates the image.
  630. ##
  631. ## captcha_cmd: "/usr/share/ejabberd/captcha.sh"
  632.  
  633. ##
  634. ## Host for the URL and port where ejabberd listens for CAPTCHA requests.
  635. ##
  636. ## captcha_host: "example.org:5280"
  637.  
  638. ##
  639. ## Limit CAPTCHA calls per minute for JID/IP to avoid DoS.
  640. ##
  641. ## captcha_limit: 5
  642.  
  643. ###.  =======
  644. ###'  MODULES
  645.  
  646. ##
  647. ## Modules enabled in all ejabberd virtual hosts.
  648. ##
  649. modules:
  650.   mod_adhoc: {}
  651.   mod_admin_extra: {}
  652.   mod_announce: # recommends mod_adhoc
  653.     access: announce
  654.   mod_blocking: {} # requires mod_privacy
  655.   mod_caps: {}
  656.   mod_carboncopy: {}
  657.   mod_client_state: {}
  658.   mod_configure: {} # requires mod_adhoc
  659.   ## mod_delegation: {} # for xep0356
  660.   mod_disco: {}
  661.   mod_echo: {}
  662.   mod_irc: {}
  663.   mod_bosh: {}
  664.   ## mod_http_fileserver:
  665.   ##   docroot: "/var/www"
  666.   ##   accesslog: "/var/log/ejabberd/access.log"
  667.   ## mod_http_upload:
  668.   ##   # docroot: "@HOME@/upload"
  669.   ##   put_url: "https://@HOST@:5444"
  670.   ##   thumbnail: false # otherwise needs the identify command from ImageMagick installed
  671.   ## mod_http_upload_quota:
  672.   ##   max_days: 30
  673.   mod_last: {}
  674.   ## XEP-0313: Message Archive Management
  675.   ## You might want to setup a SQL backend for MAM because the mnesia database is
  676.   ## limited to 2GB which might be exceeded on large servers
  677.   ## mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
  678.   mod_muc:
  679.    ## host: "conference.@HOST@"
  680.     access:
  681.      - allow
  682.     access_admin:
  683.       - allow: admin
  684.     access_create: muc_create
  685.     access_persistent: muc_create
  686.   mod_muc_admin: {}
  687.   ## mod_muc_log: {}
  688.   ## mod_multicast: {}
  689.   mod_offline:
  690.     access_max_user_messages: max_user_offline_messages
  691.   mod_ping: {}
  692.   ## mod_pres_counter:
  693.   ##   count: 5
  694.   ##   interval: 60
  695.   mod_privacy: {}
  696.   mod_private: {}
  697.   ## mod_proxy65: {}
  698.   mod_pubsub:
  699.     access_createnode: pubsub_createnode
  700.     ## reduces resource comsumption, but XEP incompliant
  701.     ignore_pep_from_offline: true
  702.     ## XEP compliant, but increases resource comsumption
  703.     ## ignore_pep_from_offline: false
  704.     last_item_cache: false
  705.     plugins:
  706.      - "flat"
  707.       - "hometree"
  708.       - "pep" # pep requires mod_caps
  709.   ## mod_register:
  710.     ##
  711.     ## Protect In-Band account registrations with CAPTCHA.
  712.     ##
  713.     ##   captcha_protected: true
  714.     ##
  715.     ## Set the minimum informational entropy for passwords.
  716.     ##
  717.     ##   password_strength: 32
  718.     ##
  719.     ## After successful registration, the user receives
  720.     ## a message with this subject and body.
  721.     ##
  722.     ##   welcome_message:
  723.     ##     subject: "Welcome!"
  724.     ##     body: |-
  725.     ##       Hi.
  726.     ##       Welcome to this XMPP server.
  727.     ##
  728.     ## When a user registers, send a notification to
  729.     ## these XMPP accounts.
  730.     ##
  731.     ##   registration_watchers:
  732.     ##     - "[email protected]"
  733.     ##
  734.     ## Only clients in the server machine can register accounts
  735.     ##
  736.     ##   ip_access: trusted_network
  737.     ##
  738.     ## Local c2s or remote s2s users cannot register accounts
  739.     ##
  740.     ##   access_from: deny
  741.     ##   access: register
  742.   mod_roster:
  743.     versioning: true
  744.   mod_shared_roster: {}
  745.   mod_stats: {}
  746.   mod_time: {}
  747.   mod_vcard:
  748.     search: false
  749.   mod_version: {}
  750.   mod_stream_mgmt: {}
  751.   ##   Non-SASL Authentication (XEP-0078) is now disabled by default
  752.   ##   because it's obsoleted and is used mostly by abandoned
  753.   ##   client software
  754.   ## mod_legacy_auth: {}
  755.   ##   The module for S2S dialback (XEP-0220). Please note that you cannot
  756.   ##   rely solely on dialback if you want to federate with other servers,
  757.   ##   because a lot of servers have dialback disabled and instead rely on
  758.   ##   PKIX authentication. Make sure you have proper certificates installed
  759.   ##   and check your accessibility at https://xmpp.net/
  760.   mod_s2s_dialback: {}
  761.   mod_http_api: {}
  762.  
  763. ##
  764. ## Enable modules with custom options in a specific virtual host
  765. ##
  766. ## host_config:
  767. ##   "localhost":
  768. ##     modules:
  769. ##       mod_echo:
  770. ##         host: "mirror.localhost"
  771.  
  772. ##
  773. ## Enable modules management via ejabberdctl for installation and
  774. ## uninstallation of public/private contributed modules
  775. ## (enabled by default)
  776. ##
  777.  
  778. allow_contrib_modules: true
  779.  
  780. ###.
  781. ###'
  782. ### Local Variables:
  783. ### mode: yaml
  784. ### End:
  785. ### vim: set filetype=yaml tabstop=8 foldmarker=###',###. foldmethod=marker:
Advertisement
Add Comment
Please, Sign In to add comment