会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lewo的博客
博客园
首页
新随笔
联系
订阅
管理
2018年10月29日
Nginx中的rewrite指令(break,last,redirect,permanent)
摘要: rewite 在server块下,会优先执行rewrite部分,然后才会去匹配location块 server中的rewrite break和last没什么区别,都会去匹配location,所以没必要用last再发起新的请求,可以留空 location中的rewirte: 不写last和break
阅读全文
posted @ 2018-10-29 15:14 jiangxiaobo
阅读(234)
评论(0)
推荐(0)
编辑
公告