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)
This commit is contained in:
parent
3e8dc38180
commit
1939de2b33
1 changed files with 1 additions and 2 deletions
|
@ -129,9 +129,8 @@ server {
|
||||||
# With php5-fpm:
|
# With php5-fpm:
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
|
|
||||||
include fastcgi_params;
|
include fastcgi.conf;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# deny access to all dot files
|
# deny access to all dot files
|
||||||
|
|
Loading…
Reference in a new issue