[[ $request_uri vs $uri ]]

Nginx

$request_uri vs $uri

nginx/1.14.1

URL $request_uri $uri
http://localhost/foo /foo
http://localhost/foo/bar /foo/bar
http://localhost/foo/bar/ /foo/bar/
http://localhost/foo/bar? /foo/bar? /foo/bar
http://localhost/foo/bar?do=test /foo/bar?do=test /foo/bar






Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
175 +4​ = 
 
practice/nginx/request_uri_vs_uri.txt · Последнее изменение: 127.0.0.1
Gentoo Linux Gentoo Linux Driven by DokuWiki