testing options both for hosts and ips
This commit is contained in:
@@ -19,7 +19,7 @@ ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
|
||||
<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