Mercurial > hg > nginx-site
changeset 1989:7bf1a73248f5
Documented that proxy_pass doesn't allow URI in named locations.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 26 May 2017 18:58:01 +0300 |
parents | aa977155cd43 |
children | a108f1ff1690 |
files | xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Fri May 26 11:36:37 2017 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Fri May 26 18:58:01 2017 +0300 @@ -1419,9 +1419,11 @@ <list type="bullet" compact="no"> <listitem> -When location is specified using a regular expression. +When location is specified using a regular expression, +and also inside named locations. <para> -In this case, the directive should be specified without a URI. +In these cases, +<literal>proxy_pass</literal> should be specified without a URI. </para> </listitem>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Fri May 26 11:36:37 2017 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Fri May 26 18:58:01 2017 +0300 @@ -1421,9 +1421,11 @@ <list type="bullet" compact="no"> <listitem> -Если location задан регулярным выражением. +Если location задан регулярным выражением, +а также в именованных location’ах. <para> -В этом случае директиву следует указывать без URI. +В этих случаях +<literal>proxy_pass</literal> следует указывать без URI. </para> </listitem>