The format is as follows:
rewrite rge replement flag
rewrite regular expression replacement target flag tag
flag tag can use the following formats:
last - basically use this Flag to indicate completion of matching.
break - Abort Rewirte and no longer continue matching
redirect - Return the HTTP status 302 of temporary redirection
permanent - Return the HTTP status 301 of permanent redirection
nginx rewrite parameters and examples
http://www.jbxue.com /article/2187.html
http://blog.c1gstudio.com/archives/434
The above introduces Nginx study notes (2) - rewrite in nginx, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.