nginx $request和$request_uri有什么区别?
The $request variable in Nginx is a built-in variable that contains the full HTTP request line as received from the client. It includes three main components:
$request = "<request_method> <request_uri> <http_version>"
For a request like GET /index.html HTTP/1.1, $request would contain exactly:"GET /index.html HTTP/1.1"
也就是说$request包含$request_uri。