# HG changeset patch # User Yaroslav Zhuravlev # Date 1595594601 -3600 # Node ID 361a28cca097a4c01182bd454ea9d0b9de4c2379 # Parent c9545c331582e8b434d5229ee5c01f26cc67c8f2 Rephrased "off" parameter of proxy_cookie_domain/path/redirect. diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="68">
@@ -861,21 +861,15 @@ proxy_cookie_domain ~\.(?P<sl_domain& -There could be several proxy_cookie_domain directives: +Several proxy_cookie_domain directives +can be specified on the same level: proxy_cookie_domain localhost example.org; proxy_cookie_domain ~\.([a-z]+\.[a-z]+)$ $1; - - - -The off parameter cancels the effect of all -proxy_cookie_domain directives on the current level: - -proxy_cookie_domain off; -proxy_cookie_domain localhost example.org; -proxy_cookie_domain www.example.org example.org; - +The off parameter cancels the effect +of the proxy_cookie_domain directives +inherited from the previous configuration level. @@ -927,21 +921,15 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1 -There could be several proxy_cookie_path directives: +Several proxy_cookie_path directives +can be specified on the same level: proxy_cookie_path /one/ /; proxy_cookie_path / /two/; - - - -The off parameter cancels the effect of all -proxy_cookie_path directives on the current level: - -proxy_cookie_path off; -proxy_cookie_path /two/ /; -proxy_cookie_path ~*^/user/([^/]+) /u/$1; - +The off parameter cancels the effect +of the proxy_cookie_path directives +inherited from the previous configuration level. @@ -1657,23 +1645,16 @@ proxy_redirect ~*/user/([^/]+)/(.+)$ -There could be several proxy_redirect directives: +Several proxy_redirect directives +can be specified on the same level: proxy_redirect default; proxy_redirect http://localhost:8000/ /; proxy_redirect http://www.example.com/ /; - - - -The off parameter cancels the effect of all -proxy_redirect directives on the current level: - -proxy_redirect off; -proxy_redirect default; -proxy_redirect http://localhost:8000/ /; -proxy_redirect http://www.example.com/ /; - +The off parameter cancels the effect +of the proxy_redirect directives +inherited from the previous configuration level. diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="68">
@@ -863,22 +863,15 @@ proxy_cookie_domain ~\.(?P<sl_domain& -Директив proxy_cookie_domain может быть несколько: +На одном уровне может быть указано +несколько директив proxy_cookie_domain: proxy_cookie_domain localhost example.org; proxy_cookie_domain ~\.([a-z]+\.[a-z]+)$ $1; - - - -Параметр off отменяет действие всех директив -proxy_cookie_domain -на данном уровне: - -proxy_cookie_domain off; -proxy_cookie_domain localhost example.org; -proxy_cookie_domain www.example.org example.org; - +Параметр off отменяет действие +унаследованных с предыдущего уровня конфигурации +директив proxy_cookie_domain. @@ -929,22 +922,15 @@ proxy_cookie_path ~*^/user/([^/]+) /u/$1 -Директив proxy_cookie_path может быть несколько: +На одном уровне может быть указано +несколько директив proxy_cookie_path: proxy_cookie_path /one/ /; proxy_cookie_path / /two/; - - - -Параметр off отменяет действие всех директив -proxy_cookie_path -на данном уровне: - -proxy_cookie_path off; -proxy_cookie_path /two/ /; -proxy_cookie_path ~*^/user/([^/]+) /u/$1; - +Параметр off отменяет действие +унаследованных с предыдущего уровня конфигурации +директив proxy_cookie_path. @@ -1662,24 +1648,16 @@ proxy_redirect ~*/user/([^/]+)/(.+)$ -Директив proxy_redirect может быть несколько: +На одном уровне может быть указано +несколько директив proxy_redirect: proxy_redirect default; proxy_redirect http://localhost:8000/ /; proxy_redirect http://www.example.com/ /; - - - -Параметр off запрещает все директивы -proxy_redirect -на данном уровне: - -proxy_redirect off; -proxy_redirect default; -proxy_redirect http://localhost:8000/ /; -proxy_redirect http://www.example.com/ /; - +Параметр off отменяет действие +унаследованных с предыдущего уровня конфигурации +директив proxy_redirect.