21,887
社区成员
发帖
与我相关
我的任务
分享
location / {
index index.html index.htm index.php l.php;
autoindex off;
if (!-e $request_filename)
{
#地址作为将参数rewrite到index.php上。
rewrite ^/(.*)$ /index.php/$1 last;
}
}
location /shuicao/ {
index index.html index.htm index.php l.php;
autoindex off;
if (!-e $request_filename){
rewrite ^/shuicao/(.*)$ /shuicao/index.php/$2 last;
}
}