php - fix fastcgi_params path

This commit is contained in:
bunkerity 2022-08-12 15:22:22 +02:00
parent 34c648830b
commit f71ad0f656
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 1 additions and 1 deletions

View File

@ -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;