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

Nginx study notes (2) - rewrite in nginx

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-08 09:31:39
Original
1092 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:
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
Latest Issues
url-rewrite - nginx rewrite problem
From 1970-01-01 08:00:00
0
0
0
php - apache rewrite unstable
From 1970-01-01 08:00:00
0
0
0
Ask a question about apache rewrite
From 1970-01-01 08:00:00
0
0
0
rewrite - How can nginx rewrite certain routes?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template