TCP source port used by Nginx proxy

See Hong Kwee hksee at yahoo.com
Tue Jul 23 09:41:51 UTC 2024


Hi 

I have been looking to log source port used by nginx proxy to forward the traffic to upstream server. What is available is $remote_addr and $remote_port which capture the client IP address and port, the source port used by nginx proxy to upstream seems to be missing.  

Is there any variable for that ? The use case is for troubleshooting between the proxy and upstream.    
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freenginx.org/pipermail/nginx/attachments/20240723/e347c0d5/attachment.htm>


More information about the nginx mailing list