[[ $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






Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
132 +11 = 
 
practice/nginx/request_uri_vs_uri.txt · Последнее изменение: 2022/08/31 14:53 — 127.0.0.1
Gentoo Linux Gentoo Linux Driven by DokuWiki