朴实蜡烛

文章
4
资源
0
加入时间
3年1月12天

nginx针对url参数重写URI

场景:原url:http://blog.tuine.me/article/show?id=1&type=php&cat_id=2修改为:http://blog.tuine.me/article/show/1?type=php&cat_id=2ngixnrewrite: 不写last和break-那么流程就是依次执行这些rewrite 1.rewritebreak-url重写后,直接使用当前资源,不再执行location里余下的语句...