解决这类问题 nginx配置需要在nginx/conf/nginx.conf中的server中
location / {
root D:/mulu;
index index.html index.htm index.php;
try_files $uri $uri/ /index.php?$query_string;
}
加上 try_files $uri $uri/ /index.php?$query_string;
官网链接