removed
    <% if has_variable?("try_files") then %>
    try_files <% try_files.each do |try| -%> <%= try %> <% end -%>;
    <% end %>
from nginx/vhost/vhost_location_directory.erb: becouse of
Error: Failed to parse template
nginx/vhost/vhost_location_directory.erb: