nginx rewrite正则子组最多匹配到$9
摘要:
nginx rewrite正则匹配()匹配子组最多匹配到$9,就是从$0到$9 当需要匹配更多子组时,可通过变量来实现 if ($uri ~ ^/forum-15/sortid-74/(.*?)(lastpost|dateline)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9] 阅读全文
posted @ 2017-05-12 22:39 dongruiha 阅读(591) 评论(0) 推荐(0) 编辑