<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Yes, it’s documented in <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#variables" class="">http://nginx.org/en/docs/http/ngx_http_core_module.html#variables</a>
<div class=""><br class="">
</div>
<div class="">$remote_port is probably what you’re after.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 13 Sep 2022, at 20:24, Michael Williams <<a href="mailto:michael.glenn.williams@totalvu.tv" class="">michael.glenn.williams@totalvu.tv</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Is there a way to include the request port number in each line of the access logs?
<div class="">I'm on Debian 11, using free NGINX downloaded.<br clear="all" class="">
<div class=""><br class="">
</div>
<div class="">Many thanks,</div>
<div class="">Michael</div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<table cellpadding="0" cellspacing="0" style="font-size: inherit; vertical-align: -webkit-baseline-middle; font-family: Verdana;" class="">
<tbody class="">
<tr class="">
<td style="vertical-align:middle" class=""><br class="">
</td>
</tr>
<tr class="">
<td height="30" class=""></td>
</tr>
<tr class="">
</tr>
<tr class="">
<td height="30" class=""></td>
</tr>
<tr class="">
<td class="">
<table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Verdana;width:555.031px" class="">
<tbody class="">
<tr class="">
<td style="vertical-align:top" class=""></td>
<td style="text-align:right;vertical-align:top" class="">
<table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Verdana;display:inline-block" class="">
<tbody class="">
<tr class="">
<td class=""><a href="https://www.linkedin.com/in/michael-glenn-williams-45ab23228/" style="display:inline-block;padding:0px;background-color:rgb(114,157,199)" target="_blank" class=""><img src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/linkedin-icon-2x.png" alt="linkedin" height="24" style="max-width:135px;display:block" class=""></a></td>
<td width="5" class="">
<div class=""></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="">
<td class=""></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<img src="https://t.sidekickopen04.com/s3t/o/5/f18dQhb0S7n28bNTLVW7zKHFs1jkhdLW1_k-L-1qZM43N2TrPlL5Z0xmW4cH2872z6fYSf7_cSGl02?si=8000000020094730&pi=fa1a8c83-fdb1-4cfd-9c23-51dff59bf00c" alt="" style="display:none!important" height="1" width="1" class="">
<div class=""></div>
</div>
_______________________________________________<br class="">
nginx mailing list -- <a href="mailto:nginx@nginx.org" class="">nginx@nginx.org</a><br class="">
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" class="">nginx-leave@nginx.org</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>