Configuration File {code ...}
location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; #fastcgi_split_path_info ^(.+\.php)(/?.*)$; #fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
Reply content:
Configuration File
location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; #fastcgi_split_path_info ^(.+\.php)(/?.*)$; #fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
Nginx, You can paste the current configuration file. ThisNo input file specifiedIn fact, 404 is reported on the client side, and the folder you root point to, and whether there is the file you want to access in that folder.
Make sure that you have the correct
Root/path/to/web # Here is the root directory of your server