Nginx 去掉 ThinkPHP Url 中的 index.phpmisswell11月 17, 201711月 17, 2017Categories 学习笔记 index index.html index.php index.htm; location / { #去掉index.php,index 必须在此之上。 if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?s=$1 last; break; } }