Beginner question:Nginx request_uri meaning ?

Maxim Dounin mdounin at mdounin.ru
Thu Jan 12 13:40:13 UTC 2017


Hello!

On Thu, Jan 12, 2017 at 09:43:35AM +0100, Bike dernikov1 wrote:

> Hi,
> Thanks for answer and detail explanation.
> So to conclude and confirm that i undestand completly.
> If client request
> 
> http://www.example.com/index.html
> 
> return 301 $scheme://example1.com$request_uri;
> 
> mean:  return 301 http://example1.com/index.html.

Yes, $request_uri would be "/index.html" in this case.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list