Port numbers in the access or error logs ?

Lucas Rolff lucas at lucasrolff.com
Tue Sep 13 18:46:33 UTC 2022


Yes, it’s documented in http://nginx.org/en/docs/http/ngx_http_core_module.html#variables

$remote_port is probably what you’re after.

On 13 Sep 2022, at 20:24, Michael Williams <michael.glenn.williams at totalvu.tv<mailto:michael.glenn.williams at totalvu.tv>> wrote:

Is there a way to include the request port number in each line of the access logs?
I'm on Debian 11, using free NGINX downloaded.

Many thanks,
Michael

[linkedin]<https://www.linkedin.com/in/michael-glenn-williams-45ab23228/>

_______________________________________________
nginx mailing list -- nginx at nginx.org<mailto:nginx at nginx.org>
To unsubscribe send an email to nginx-leave at nginx.org<mailto:nginx-leave at nginx.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220913/2ba84c33/attachment.htm>


More information about the nginx mailing list