From 1939de2b33a0135a8e55c9e9dbfc1688e460c779 Mon Sep 17 00:00:00 2001 From: Alexander Fortin Date: Sat, 23 Sep 2017 19:56:37 +0200 Subject: [PATCH] Fix Nginx example config Check https://stackoverflow.com/questions/15423500/nginx-showing-blank-php-pages#16887296 for the rest of the change (without, I get white page on a testing vagrant box) --- mods/sample-nginx.config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index 6bf75bd818..ac518cbd48 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -129,9 +129,8 @@ server { # With php5-fpm: fastcgi_pass unix:/var/run/php5-fpm.sock; - include fastcgi_params; + include fastcgi.conf; fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } # deny access to all dot files