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@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@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@nginx.org
> To unsubscribe send an email to nginx-leave@nginx.org
>
>
> _______________________________________________
> nginx mailing list -- nginx@nginx.org
> To unsubscribe send an email to nginx-leave@nginx.org
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org