Guest User

Untitled

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