投稿 评论 顶部

Nginx 下Thinkphp5伪静态

佚名 网络安全
server {
listen 80;
server_name all.bjed.com;
root "F:\www\asdata";
location / {
index index.html index.htm index.php;
#autoindex on;
    if (!-e $request_filename) {        rewrite  ^(.*)$  /index.php?s=/$1  last;        break;    }
  }