目项目名称为thinkphp5
location /thinkphp5/ {
if (!-e $request_filename){
rewrite ^/thinkphp5/(.*)$ /thinkphp5/public/index.php?s=$1 last;
}
}
目项目名称为thinkphp5
location /thinkphp5/ {
if (!-e $request_filename){
rewrite ^/thinkphp5/(.*)$ /thinkphp5/public/index.php?s=$1 last;
}
}