噜噜哒
这样配置就行1234567891011121314151617181920212223242526272829server { listen 80; server_name 你的域名; root /你的目录; index index.html index.htm index.php; location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break; } } location ~ \.php { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fcgi.conf; set $real_script_name $fastcgi_script_name; if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") { set $real_script_name $1; set $path_info $2; } fastcgi_param SCRIPT_FILENAME $document_root$real_script_name; fastcgi_param SCRIPT_NAME $real_script_name; fastcgi_param PATH_INFO $path_info; }}追问现在是 访问 http://wx.com/Home/Te/index.html 直接是找不到页面,我想让这个页面可以正常访问