Merge pull request #1 from kay0u/patch-2
[fix] nginx confirm with the new PHP version
This commit is contained in:
		
						commit
						e3959bcdad
					
				@ -18,7 +18,7 @@ location __PATH__/ {
 | 
			
		||||
  try_files $uri $uri/ index.php;
 | 
			
		||||
  location ~ [^/]\.php(/|$) {
 | 
			
		||||
    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
 | 
			
		||||
    fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;
 | 
			
		||||
    fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;
 | 
			
		||||
 | 
			
		||||
    fastcgi_index index.php;
 | 
			
		||||
    include fastcgi_params;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user