]> git.kaiwu.me - nginx.git/commit
Stream: support for $remote_port in proxy_bind.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 20 Jun 2016 08:50:44 +0000 (11:50 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 20 Jun 2016 08:50:44 +0000 (11:50 +0300)
commit05879309c11a6b62be2ffe89882cf5d8ddc1427f
treee3b5f14b46a192f8967c200cb3d6be0dd2ca65c7
parent8cad1c015f359a15a0c9261862faa23b519befba
Stream: support for $remote_port in proxy_bind.

The following two types of bind addresses are supported in addition to
$remote_addr and address literals:

- $remote_addr:$remote_port
- [$remote_addr]:$remote_port

In both cases client remote address with port is used in upstream socket bind.
src/stream/ngx_stream_proxy_module.c