updates template
This commit is contained in:
@@ -49,8 +49,8 @@ ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
|
||||
<% unless @ng_required_hosts.empty? -%>
|
||||
Require host <%= @ng_required_hosts %>
|
||||
<% end -%>
|
||||
<% unless @ng_required_ips.empty? -%>
|
||||
Require ip <%= @ng_required_ips %>
|
||||
<% unless @source_range.empty? -%>
|
||||
Require ip <%= @source_range %>
|
||||
<% end -%>
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
@@ -63,8 +63,8 @@ ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
|
||||
<% unless @ng_required_hosts.empty? -%>
|
||||
Allow from <%= @ng_required_hosts %>
|
||||
<% end -%>
|
||||
<% unless @ng_required_ips.empty? -%>
|
||||
Allow from <%= @ng_required_ips %>
|
||||
<% unless @source_range.empty? -%>
|
||||
Allow from <%= @source_range %>
|
||||
<% end -%>
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
@@ -89,8 +89,8 @@ Alias /nagios "/usr/share/nagios/html"
|
||||
<% unless @ng_required_hosts.empty? -%>
|
||||
Require host <%= @ng_required_hosts %>
|
||||
<% end -%>
|
||||
<% unless @ng_required_ips.empty? -%>
|
||||
Require ip <%= @ng_required_ips %>
|
||||
<% unless @source_range.empty? -%>
|
||||
Require ip <%= @source_range %>
|
||||
<% end -%>
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
@@ -103,8 +103,8 @@ Alias /nagios "/usr/share/nagios/html"
|
||||
<% unless @ng_required_hosts.empty? -%>
|
||||
Allow from <%= @ng_required_hosts %>
|
||||
<% end -%>
|
||||
<% unless @ng_required_ips.empty? -%>
|
||||
Allow from <%= @ng_required_ips %>
|
||||
<% unless @source_range.empty? -%>
|
||||
Allow from <%= @source_range %>
|
||||
<% end -%>
|
||||
AuthName "Nagios Access"
|
||||
AuthType Basic
|
||||
|
||||
Reference in New Issue
Block a user