testing options both for hosts and ips
This commit is contained in:
@@ -56,7 +56,7 @@ Alias /nagios "/usr/share/nagios/html"
|
||||
<IfVersion >= 2.3>
|
||||
<RequireAll>
|
||||
Require all granted
|
||||
<% if @ng_required_hosts != [] -%>
|
||||
<% unless @ng_required_hosts.empty? -%>
|
||||
<% @ng_required_hosts.each do |required_host| -%>
|
||||
Require host <%= required_host %>
|
||||
<% end end -%>
|
||||
|
||||
Reference in New Issue
Block a user