Home > Backend Development > PHP Tutorial > The difference between nginx $uri and $request_uri nginx location request uri nginx request processing flow nginx request pat

The difference between nginx $uri and $request_uri nginx location request uri nginx request processing flow nginx request pat

WBOY
Release: 2016-07-29 08:55:07
Original
2197 people have browsed it

$uri refers to the file and path of the request, and does not contain things like "?" or "#"

$request_uri refers to the entire string of the request, including the things requested later

For example:
$uri: www.baidu.com/document

$request_uri: www.baidu.com/document?x=1

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the difference between nginx $uri and $request_uri, including the content of request and nginx. 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