Port numbers in the access or error logs ?
Michael Williams
michael.glenn.williams at totalvu.tv
Tue Sep 13 23:01:55 UTC 2022
Thank you this worked perfectly. I used both server and remote ports in the
logs.
Many thanks!
On Tue, Sep 13, 2022 at 11:48 AM Lucas Rolff <lucas at lucasrolff.com> wrote:
> 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> 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
>
> [image: linkedin]
> <https://www.linkedin.com/in/michael-glenn-williams-45ab23228/>
> _______________________________________________
> nginx mailing list -- nginx at nginx.org
> To unsubscribe send an email to nginx-leave at nginx.org
>
>
> _______________________________________________
> nginx mailing list -- nginx at nginx.org
> To unsubscribe send an email to nginx-leave at nginx.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220913/6c02a2db/attachment.htm>
More information about the nginx
mailing list