Home >Backend Development >PHP Tutorial >Nginx study notes (2) - rewrite in nginx

Nginx study notes (2) - rewrite in nginx

WBOY
WBOYOriginal
2016-08-08 09:31:391051browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:curl Expect:100-continueNext article:curl Expect:100-continue