location <%= @location %> { root <%= @www_root %>; <% if @fastcgi_split_path -%> fastcgi_split_path_info <%= @fastcgi_split_path %>; <% end -%> <% if @try_files -%> try_files <% @try_files.each do |try| -%> <%= try %> <% end -%>; <% end -%> include <%= @fastcgi_params %>; fastcgi_pass <%= @fastcgi %>; <% unless @fastcgi_script == :undef %> fastcgi_param SCRIPT_FILENAME <%= @fastcgi_script %>; <% end -%> }