]> git.mxchange.org Git - friendica.git/commitdiff
Fix Nginx example config
authorAlexander Fortin <alexander.fortin@gmail.com>
Sat, 23 Sep 2017 17:56:37 +0000 (19:56 +0200)
committerAlexander Fortin <alexander.fortin@gmail.com>
Sat, 23 Sep 2017 18:55:49 +0000 (20:55 +0200)
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

index 6bf75bd8181c33e48de1efbb939cd188feea3ee6..ac518cbd48a53e9ada01cc1f3740374f8a114c9b 100644 (file)
@@ -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