Welcome! Log In Create A New Profile

Advanced

Re: Beginner question:Nginx request_uri meaning ?

January 23, 2017 04:15AM
$request_uri is a built-in variable of Nginx, which meaning is the pure uri in HTTP request line without any process.

For instance, if the HTTP request line is "GET /path/to//a.jpg HTTP/1.1", the $request_uri is "/path/to//a.jpg". But the $uri will be "/path/to/a.jpg" if merge_slashes is enable.

if the HTTP request line is "GET /path%2Fto/a.jpg HTTP1/1.", the $request_uri is "/path%2Fto/a.jpg". But the $uri will be "/path/to/a.jpg".
Subject Author Posted

Beginner question:Nginx request_uri meaning ?

Bike dernikov1 January 11, 2017 11:20AM

Re: Beginner question:Nginx request_uri meaning ?

Maxim Dounin January 11, 2017 12:30PM

Re: Beginner question:Nginx request_uri meaning ?

Bike dernikov1 January 12, 2017 03:46AM

Re: Beginner question:Nginx request_uri meaning ?

Maxim Dounin January 12, 2017 08:42AM

Re: Beginner question:Nginx request_uri meaning ?

tokers January 23, 2017 04:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 286
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready