Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1758:2e0d07952c8f
Documented variables support for proxy_pass in stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 02 Aug 2016 21:58:31 +0300 |
parents | ab56dcd73af2 |
children | 6839c258c473 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_proxy_module.xml Thu Jul 28 18:08:51 2016 +0300 +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml Tue Aug 02 21:58:31 2016 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_proxy_module" link="/en/docs/stream/ngx_stream_proxy_module.html" lang="en" - rev="15"> + rev="16"> <section id="summary"> @@ -215,6 +215,17 @@ <link doc="ngx_stream_upstream_module.xml">server group</link>. </para> +<para> +The address can also be specified using variables (1.11.3): +<example> +proxy_pass $upstream; +</example> +In this case, the server name is searched among the described +<link doc="ngx_stream_upstream_module.xml">server groups</link>, +and, if not found, is determined using a +<link doc="ngx_stream_core_module.xml" id="resolver"/>. +</para> + </directive> @@ -341,6 +352,7 @@ the certificate of the proxied server and to be <link id="proxy_ssl_server_name">passed through SNI</link> when establishing a connection with the proxied server. +The server name can also be specified using variables (1.11.3). </para> <para>