From ddd6fc7ce65a0171cdb1c9ee87a978bd164a1d90 Mon Sep 17 00:00:00 2001 From: Yaroslav Zhuravlev Date: Mon, 27 Oct 2025 18:20:11 +0000 Subject: [PATCH] Documented "$request_port" and "$is_request_port". --- xml/en/docs/http/ngx_http_core_module.xml | 18 +++++++++++++++++- xml/ru/docs/http/ngx_http_core_module.xml | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/xml/en/docs/http/ngx_http_core_module.xml b/xml/en/docs/http/ngx_http_core_module.xml index 1ede3dcb..fa68dca5 100644 --- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="110">
@@ -3219,6 +3219,13 @@ or an empty string otherwise or an empty string otherwise +$is_request_port + +“:” if +$request_port is non-empty, +or an empty string otherwise (1.29.3) + + $limit_rate setting this variable enables response rate limiting; @@ -3493,6 +3500,15 @@ request method, usually “GET” or “POST +$request_port + +in this order of precedence: +port number from the +URI +authority component, or +port number from the
Host
request header field (1.29.3) +
+ $request_time request processing time in seconds with a milliseconds resolution diff --git a/xml/ru/docs/http/ngx_http_core_module.xml b/xml/ru/docs/http/ngx_http_core_module.xml index bd210de6..4d0bfe1e 100644 --- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="110">
@@ -3214,6 +3214,13 @@ cookie имя и пустая строка, если их нет +$is_request_port + +“:”, если значение +$request_port непустое, +либо пустая строка (1.29.3) + + $limit_rate установка этой переменной позволяет ограничивать скорость @@ -3483,6 +3490,15 @@ scgi_pass_request_body off “GET” или “POST +$request_port + +в порядке приоритета: +номер порта из компонента +URI +authority, или +номер порта из поля
Host
заголовка запроса (1.29.3) +
+ $request_time время обработки запроса в секундах с точностью до миллисекунд