location ~ \.php(.*)$ {
fastcgi_split_path_info ^((?U).+.php)(/?.+)$; 
fastcgi_pass  unix:/tmp/php-56-cgi.sock;
fastcgi_index  index.php;
fastcgi_param  SCRIPT_FILENAME  $DOCUMENT_ROOT$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
}
最后修改:2020 年 08 月 18 日 01 : 07 PM
如果觉得我的文章对你有用,请随意赞赏