修改nginx.conf文件 location / { try_files $uri u r i / / i n d e x . p h p ? uri/ /index.php? uri//index.php?query_string; }