Add fastcgi template
This commit is contained in:
parent
23c5bf7a9e
commit
9e5645670e
1 changed files with 7 additions and 0 deletions
7
templates/vhost/vhost_location_fastcgi.erb
Normal file
7
templates/vhost/vhost_location_fastcgi.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
location <%= location %> {
|
||||
include <%= fastcgi_params %>;
|
||||
fastcgi_pass <%= fastcgi %>;
|
||||
<% unless fastcgi_script == :undef %>
|
||||
fastcgi_param SCRIPT_FILENAME <%= fastcgi_script %>;
|
||||
<% end %>
|
||||
}
|
Loading…
Reference in a new issue