php - fix fastcgi_params path
This commit is contained in:
parent
34c648830b
commit
f71ad0f656
|
@ -3,7 +3,7 @@ location / {
|
|||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
location ~ \.php$ {
|
||||
include {{ NGINX_PREFIX }}/fastcgi_params;
|
||||
include {{ NGINX_PREFIX }}server-http/fastcgi_params;
|
||||
{% if REMOTE_PHP != "" +%}
|
||||
set $backend "{{ REMOTE_PHP }}:9000";
|
||||
fastcgi_pass $backend;
|
||||
|
|
Loading…
Reference in New Issue