Added location_allow & location_deny to fastcgi location

This commit is contained in:
Lebedev Vadim 2014-04-11 19:43:54 +04:00
parent d1dc560a37
commit 24c93968b3

View file

@ -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 -%>