nginx rewrite break last

来源:互联网 发布:白银交易软件下载 编辑:程序博客网 时间:2024/05/16 01:20
网友的给力解释:
last:
    重新将rewrite后的地址在server标签中执行
break:
    将rewrite后的地址在当前location标签中执行
nginx官方解释:
last:
    stops processing the current set of ngx_http_rewrite_module directives followed by a search for a new location matching     
    the changed URI;
break:
    stops processing the current set of ngx_http_rewrite_module directives;

0 0
原创粉丝点击