Fix the vhost template
hosts must be defined in the main config file
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
# Generated by Chef for <%= @host[:name] %>
|
||||
hosts:
|
||||
- "<%= @host[:name] %>"
|
||||
|
||||
<% if File.exist?("/opt/ejabberd/conf/#{@host[:name]}.crt") && File.exist?("/opt/ejabberd/conf/#{@host[:name]}.key") -%>
|
||||
certfiles:
|
||||
- "/opt/ejabberd/conf/<%= @host[:name] %>.crt"
|
||||
|
||||
Reference in New Issue
Block a user