From 067d766f210ee914b750d79d9284cbf8801058f3 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 5 Apr 2026 11:31:15 +0200 Subject: Fix $request_port and $is_request_port in subrequests Closes #1247. --- src/http/ngx_http_core_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0c46106db..53ddf39bb 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2453,6 +2453,8 @@ ngx_http_subrequest(ngx_http_request_t *r, sr->method = NGX_HTTP_GET; sr->http_version = r->http_version; + sr->port = r->port; + sr->request_line = r->request_line; sr->uri = *uri; -- cgit