Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion xml/en/docs/http/ngx_http_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Module ngx_http_core_module"
link="/en/docs/http/ngx_http_core_module.html"
lang="en"
rev="109">
rev="110">

<section id="directives" name="Directives">

Expand Down Expand Up @@ -3219,6 +3219,13 @@ or an empty string otherwise
or an empty string otherwise
</tag-desc>

<tag-name id="var_is_request_port"><var>$is_request_port</var></tag-name>
<tag-desc>
“<literal>:</literal>” if
<link id="var_request_port">$request_port</link> is non-empty,
or an empty string otherwise (1.29.3)
</tag-desc>

<tag-name id="var_limit_rate"><var>$limit_rate</var></tag-name>
<tag-desc>
setting this variable enables response rate limiting;
Expand Down Expand Up @@ -3493,6 +3500,15 @@ request method, usually
“<literal>GET</literal>” or “<literal>POST</literal>”
</tag-desc>

<tag-name id="var_request_port"><var>$request_port</var></tag-name>
<tag-desc>
in this order of precedence:
port number from the
<link url="https://datatracker.ietf.org/doc/html/rfc9110#section-4.2.1">URI</link>
authority component, or
port number from the <header>Host</header> request header field (1.29.3)
</tag-desc>

<tag-name id="var_request_time"><var>$request_time</var></tag-name>
<tag-desc>
request processing time in seconds with a milliseconds resolution
Expand Down
18 changes: 17 additions & 1 deletion xml/ru/docs/http/ngx_http_core_module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="Модуль ngx_http_core_module"
link="/ru/docs/http/ngx_http_core_module.html"
lang="ru"
rev="109">
rev="110">

<section id="directives" name="Директивы">

Expand Down Expand Up @@ -3214,6 +3214,13 @@ cookie <value>имя</value>
и пустая строка, если их нет
</tag-desc>

<tag-name id="var_is_request_port"><var>$is_request_port</var></tag-name>
<tag-desc>
“<literal>:</literal>”, если значение
<link id="var_request_port">$request_port</link> непустое,
либо пустая строка (1.29.3)
</tag-desc>

<tag-name id="var_limit_rate"><var>$limit_rate</var></tag-name>
<tag-desc>
установка этой переменной позволяет ограничивать скорость
Expand Down Expand Up @@ -3483,6 +3490,15 @@ scgi_pass_request_body off</link>
“<literal>GET</literal>” или “<literal>POST</literal>”
</tag-desc>

<tag-name id="var_request_port"><var>$request_port</var></tag-name>
<tag-desc>
в порядке приоритета:
номер порта из компонента
<link url="https://datatracker.ietf.org/doc/html/rfc9110#section-4.2.1">URI</link>
authority, или
номер порта из поля <header>Host</header> заголовка запроса (1.29.3)
</tag-desc>

<tag-name id="var_request_time"><var>$request_time</var></tag-name>
<tag-desc>
время обработки запроса в секундах с точностью до миллисекунд
Expand Down