File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1010<module name =" Module ngx_http_core_module"
1111 link =" /en/docs/http/ngx_http_core_module.html"
1212 lang =" en"
13- rev =" 109 " >
13+ rev =" 110 " >
1414
1515<section id =" directives" name =" Directives" >
1616
@@ -3219,6 +3219,13 @@ or an empty string otherwise
32193219or an empty string otherwise
32203220</tag-desc >
32213221
3222+ <tag-name id =" var_is_request_port" ><var >$is_request_port</var ></tag-name >
3223+ <tag-desc >
3224+ “<literal >:</literal >” if
3225+ <link id =" var_request_port" >$request_port</link > is non-empty,
3226+ or an empty string otherwise (1.29.3)
3227+ </tag-desc >
3228+
32223229<tag-name id =" var_limit_rate" ><var >$limit_rate</var ></tag-name >
32233230<tag-desc >
32243231setting this variable enables response rate limiting;
@@ -3493,6 +3500,15 @@ request method, usually
34933500“<literal >GET</literal >” or “<literal >POST</literal >”
34943501</tag-desc >
34953502
3503+ <tag-name id =" var_request_port" ><var >$request_port</var ></tag-name >
3504+ <tag-desc >
3505+ in this order of precedence:
3506+ port number from the
3507+ <link url =" https://datatracker.ietf.org/doc/html/rfc9110#section-4.2.1" >URI</link >
3508+ authority component, or
3509+ port number from the <header >Host</header > request header field (1.29.3)
3510+ </tag-desc >
3511+
34963512<tag-name id =" var_request_time" ><var >$request_time</var ></tag-name >
34973513<tag-desc >
34983514request processing time in seconds with a milliseconds resolution
Original file line number Diff line number Diff line change 1010<module name =" Модуль ngx_http_core_module"
1111 link =" /ru/docs/http/ngx_http_core_module.html"
1212 lang =" ru"
13- rev =" 109 " >
13+ rev =" 110 " >
1414
1515<section id =" directives" name =" Директивы" >
1616
@@ -3214,6 +3214,13 @@ cookie <value>имя</value>
32143214и пустая строка, если их нет
32153215</tag-desc >
32163216
3217+ <tag-name id =" var_is_request_port" ><var >$is_request_port</var ></tag-name >
3218+ <tag-desc >
3219+ “<literal >:</literal >”, если значение
3220+ <link id =" var_request_port" >$request_port</link > непустое,
3221+ либо пустая строка (1.29.3)
3222+ </tag-desc >
3223+
32173224<tag-name id =" var_limit_rate" ><var >$limit_rate</var ></tag-name >
32183225<tag-desc >
32193226установка этой переменной позволяет ограничивать скорость
@@ -3483,6 +3490,15 @@ scgi_pass_request_body off</link>
34833490“<literal >GET</literal >” или “<literal >POST</literal >”
34843491</tag-desc >
34853492
3493+ <tag-name id =" var_request_port" ><var >$request_port</var ></tag-name >
3494+ <tag-desc >
3495+ в порядке приоритета:
3496+ номер порта из компонента
3497+ <link url =" https://datatracker.ietf.org/doc/html/rfc9110#section-4.2.1" >URI</link >
3498+ authority, или
3499+ номер порта из поля <header >Host</header > заголовка запроса (1.29.3)
3500+ </tag-desc >
3501+
34863502<tag-name id =" var_request_time" ><var >$request_time</var ></tag-name >
34873503<tag-desc >
34883504время обработки запроса в секундах с точностью до миллисекунд
You can’t perform that action at this time.
0 commit comments