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

Nginx study notes (2) - rewrite in nginx

WBOY
Release: 2016-08-08 09:31:39
Original
1041 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template