From mdounin at mdounin.ru Tue Jul 9 14:56:53 2024 From: mdounin at mdounin.ru (Maxim Dounin) Date: Tue, 9 Jul 2024 17:56:53 +0300 Subject: freenginx-1.27.2 Message-ID: Changes with freenginx 1.27.2 09 Jul 2024 *) Feature: now maximum error logging rate can be limited with the "rate" parameter of the "error_log" directive; by default the limit is 1000 messages per second. *) Bugfix: in resolver. Thanks to Kirill A. Korinsky. *) Bugfix: the "proxy_no_cache" directive was not checked when caching errors. *) Bugfix: a block used in the "stub" parameter of the "include" SSI directive might be sent twice. -- Maxim Dounin http://freenginx.org/ From hksee at yahoo.com Tue Jul 23 09:41:51 2024 From: hksee at yahoo.com (See Hong Kwee) Date: Tue, 23 Jul 2024 09:41:51 +0000 (UTC) Subject: TCP source port used by Nginx proxy References: <612141561.3223011.1721727711629.ref@mail.yahoo.com> Message-ID: <612141561.3223011.1721727711629@mail.yahoo.com> 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: From mdounin at mdounin.ru Tue Jul 23 18:46:15 2024 From: mdounin at mdounin.ru (Maxim Dounin) Date: Tue, 23 Jul 2024 21:46:15 +0300 Subject: TCP source port used by Nginx proxy In-Reply-To: <612141561.3223011.1721727711629@mail.yahoo.com> References: <612141561.3223011.1721727711629.ref@mail.yahoo.com> <612141561.3223011.1721727711629@mail.yahoo.com> Message-ID: Hello! On Tue, Jul 23, 2024 at 09:41:51AM +0000, See Hong Kwee wrote: > 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.? ?? Unfortunately, there are no such variables. For upstream connections, only the $upstream_addr variable with addresses of upstream servers is available (see http://freenginx.org/r/$upstream_addr for detalis). -- Maxim Dounin http://mdounin.ru/