解決nginx配置僞靜態 去除框架的Index.php

2 3 4 5 6 在nginx.conf中Location/{}中加上下面這個if判斷就能夠了 location / { if (!-e $request_filename)     {         rewrite ^(.*)$ /index.php?s=$1 last; break;     } }
相關文章
相關標籤/搜索