tp3 访问路径 http://域名/模块/控制器/方法名
请问怎么配置nginx,可以支持这个2个路径访问同一个页面
http://wx.com/Home/Te/index.html
http://wx.com/Home/Te/index
apache 默认支持 .html 访问,nginx 加上 .html 找不到页面;
tp3 的路由配置是 'URL_MODEL' =>2, //REWRITE模式;
请问 nginx.conf 怎么配置?
相关问题
- UrlEncodeUnicode and browser navigation errors
- Improve converting string to readable urls
- Jasper: error opening input stream from url
- How can I prevent my Shiny App from disconnecting
- Can't configure nginx as a proxy for tomcat wi
url 重写呗