CI NGINX URL 美化

332 阅读1分钟

# location / { 

 # root html; 

 index index.php index.html index.htm;

 if (!-e $request_filename) { ##如果没有找到目标文件 

 rewrite ^/(.*)$ /index.php?/$1 last; 

 break; 

 } 

 #}