fastcgi_split_path_info ^(.+?\.php)(/.*)$; set $path_info $fastcgi_path_info; fastcgi_param PATH_INFO $path_info;
fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;
supports thinkphp’s url pattern 3, 1
The above introduces the PATHINFO of nginx supported url, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.