Added location_allow & location_deny to fastcgi location
This commit is contained in:
parent
d1dc560a37
commit
24c93968b3
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
|||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
<% if @location_allow -%><% location_allow.each do |allow_rule| -%>
|
||||
allow <%= allow_rule %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_deny -%><% @location_deny.each do |deny_rule| -%>
|
||||
deny <%= deny_rule %>;
|
||||
<% end -%><% end -%>
|
||||
<% if defined? @www_root -%>
|
||||
root <%= @www_root %>;
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue