Fix the vhost template
hosts must be defined in the main config file
This commit is contained in:
@@ -6,6 +6,11 @@ log_rotate_count: 1
|
||||
|
||||
log_rate_limit: 100
|
||||
|
||||
hosts:
|
||||
<% @hosts.each do |host| -%>
|
||||
- "<%= host[:name] %>"
|
||||
<% end -%>
|
||||
|
||||
<% @hosts.each do |host| -%>
|
||||
include_config_file: "/opt/ejabberd/conf/<%= host[:name] %>.yml"
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user