Update sample-nginx.config

Updated default path to PHP7.0

PHP5.0 is not considered standard any more.
This commit is contained in:
Andy H 2018-05-16 11:10:19 +07:00 committed by GitHub
parent 0848cef605
commit e22f7a3c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,8 +126,8 @@ server {
# With php5-cgi alone: # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000; # fastcgi_pass 127.0.0.1:9000;
# With php5-fpm: # With php7.0-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
include fastcgi_params; include fastcgi_params;
fastcgi_index index.php; fastcgi_index index.php;