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;
    }
  }
相關文章
相關標籤/搜索