Skip to content

Commit

Permalink
Pointing to fascgi.conf instead of fastcgi_params
Browse files Browse the repository at this point in the history
fastcgi_params seems to break PHP in nginx 1.6.1.
  • Loading branch information
bradleyboy committed Sep 10, 2014
1 parent 241d534 commit d0e38d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/nginx-site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ server {
location @koken {
try_files /installer.php /app/site/site.php?url=$uri;
fastcgi_pass backend_www;
include fastcgi_params;
include fastcgi.conf;
}

error_page 500 502 503 504 /50x.html;
Expand All @@ -119,7 +119,7 @@ server {
location = /i.php {
try_files $uri =404;
fastcgi_pass backend_images;
include fastcgi_params;
include fastcgi.conf;
}

# pass all other PHP requests to main backend
Expand All @@ -128,7 +128,7 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass backend_www;
fastcgi_index index.php;
include fastcgi_params;
include fastcgi.conf;
}
}

Expand Down

0 comments on commit d0e38d0

Please sign in to comment.