nginx学习之rewrite
老规矩,先祭出官方文档
http://nginx.org/en/docs/http/ngx_http_rewrite_module.html
The ngx_http_rewrite_module module is used to change request URI using PCRE regular expressions, return redirects, and conditionally select configurations.
换言之,就是走了您嘞!
首先先说一下break吧,官方文档这么描述的break
If a directive is specified inside the location, further processing of the request continues in this location.
看谷歌翻译的意思,大概是跳出去了,进行后续的事情的意思
过几天再写这个。。突然有点忙

浙公网安备 33010602011771号