Multiple configurations for vhosts when using ejabberd with the mod_post_log module -


i'm trying ejabberd working when using mod_post_log module. have defined 2 virtual hosts , want vhost-specific module configuration. approach following in ejabberd.yml file:

append_host_config:   "host1.com":     modules:       mod_post_log:         url: "http://host1.com/ejabberd_post_message"  append_host_config:   "host2.com":     modules:       mod_post_log:         url: "http://host2.com/ejabberd_post_message" 

i expect work doesn't. according logs, mod_post_log cannot find url option.

it works fine if define following in ~/.ejabberd-modules/mod_post_log/conf/mod_post_log.yml:

modules:   mod_post_log:     url: "http://host1.com/ejabberd_post_message" 

but works 1 host.

so i'm not sure why approach tried not working. there can clarify , see i'm doing wrong? believe i'm defining 2 seperate configurations mod_post_log module apparently there's incorrect here.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -