Re: Port numbers in the access or error logs ?

2022-09-13 Thread Michael Williams
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 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

Re: Port numbers in the access or error logs ?

2022-09-13 Thread Lucas Rolff
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 mailto:michael.glenn.willi...@totalvu.tv>> wrote: Is there a way to include the request port number in each line of

Port numbers in the access or error logs ?

2022-09-13 Thread Michael Williams
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] ___ nginx mailing li