Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
请问下怎么匹配是index.php这个请求呢,然后让lua去处理
763191973
请问下我怎么匹配是index.php这个请求呢,然后让lua去处理.
比如
xx.com/index.php
如果是其他的xx.php就不走lua或者lua文件里面不做处理
moonbingbing
再新增一个 location.
location = /index.php {
content_by_lua_file xxx.lua;
}
2016-12-06 18:40 GMT+08:00
<
7631...@qq.com
>
:
请问下我怎么匹配是index.php这个请求呢,
然后让lua去处理.
比如
xx.com/index.php
如果是其他的xx.
php就不走lua或者lua文件里面不做处理
--