We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6f00f6 + cf76dda commit 94dfdc1Copy full SHA for 94dfdc1
templates/vhost/locations/fastcgi.erb
@@ -2,14 +2,14 @@
2
root <%= @www_root %>;
3
<% end -%>
4
include <%= @fastcgi_params %>;
5
-<% if @try_files -%>
6
- try_files <% @try_files.each do |try| -%> <%= try %><% end -%>;
7
-<% end -%>
8
9
fastcgi_pass <%= @fastcgi %>;
10
<% if @fastcgi_split_path -%>
11
fastcgi_split_path_info <%= @fastcgi_split_path %>;
12
+<% if @try_files -%>
+ try_files <% @try_files.each do |try| -%> <%= try %><% end -%>;
+<% end -%>
13
<% if defined? @fastcgi_script -%>
14
<%-# this setting can be overridden by setting it in the fastcgi_param hash too %>
15
<%- @fastcgi_param = { 'SCRIPT_FILENAME' => @fastcgi_script }.merge(@fastcgi_param || {}) -%>
0 commit comments