vue路由伪静态配置:
location / {
try_files $uri $uri/ /index.html;
}

thinkphp 路由伪静态配置
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}

vue路由伪静态配置:
location / {
try_files $uri $uri/ /index.html;
}

thinkphp 路由伪静态配置
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}

533

被折叠的 条评论
为什么被折叠?