Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_proxy_module.xml @ 2598:361a28cca097
Rephrased "off" parameter of proxy_cookie_domain/path/redirect.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 24 Jul 2020 13:43:21 +0100 |
parents | eeed494bba51 |
children | 5c5a36560f97 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="67"> + rev="68"> <section id="summary"> @@ -861,21 +861,15 @@ proxy_cookie_domain ~\.(?P<sl_domain& </para> <para> -There could be several <literal>proxy_cookie_domain</literal> directives: +Several <literal>proxy_cookie_domain</literal> directives +can be specified on the same level: <example> proxy_cookie_domain localhost example.org; proxy_cookie_domain ~\.([a-z]+\.[a-z]+)$ $1; </example> -</para> - -<para> -The <literal>off</literal> parameter cancels the effect of all -<literal>proxy_cookie_domain</literal> directives on the current level: -<example> -proxy_cookie_domain off; -proxy_cookie_domain localhost example.org; -proxy_cookie_domain www.example.org example.org; -</example> +The <literal>off</literal> parameter cancels the effect +of the <literal>proxy_cookie_domain</literal> directives +inherited from the previous configuration level. </para> </directive> @@ -927,21 +921,15 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1 </para> <para> -There could be several <literal>proxy_cookie_path</literal> directives: +Several <literal>proxy_cookie_path</literal> directives +can be specified on the same level: <example> proxy_cookie_path /one/ /; proxy_cookie_path / /two/; </example> -</para> - -<para> -The <literal>off</literal> parameter cancels the effect of all -<literal>proxy_cookie_path</literal> directives on the current level: -<example> -proxy_cookie_path off; -proxy_cookie_path /two/ /; -proxy_cookie_path ~*^/user/([^/]+) /u/$1; -</example> +The <literal>off</literal> parameter cancels the effect +of the <literal>proxy_cookie_path</literal> directives +inherited from the previous configuration level. </para> </directive> @@ -1657,23 +1645,16 @@ proxy_redirect ~*/user/([^/]+)/(.+)$ </para> <para> -There could be several <literal>proxy_redirect</literal> directives: +Several <literal>proxy_redirect</literal> directives +can be specified on the same level: <example> proxy_redirect default; proxy_redirect http://localhost:8000/ /; proxy_redirect http://www.example.com/ /; </example> -</para> - -<para> -The <literal>off</literal> parameter cancels the effect of all -<literal>proxy_redirect</literal> directives on the current level: -<example> -proxy_redirect off; -proxy_redirect default; -proxy_redirect http://localhost:8000/ /; -proxy_redirect http://www.example.com/ /; -</example> +The <literal>off</literal> parameter cancels the effect +of the <literal>proxy_redirect</literal> directives +inherited from the previous configuration level. </para> <para>