如果没有自定义域名,则打开Nginx配置文件:nginx-conf 对应着改
如果自定义了域名,则打开Nginx配置文件:vhosts-conf 对应着改
location / {
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?s=$1 last;
break;
}
}