]> git.kaiwu.me - nginx.git/commit
Proxy: strengthen syntax checking for some directives.
authorRuslan Ermilov <ru@nginx.com>
Sun, 27 Sep 2020 20:21:09 +0000 (23:21 +0300)
committerRuslan Ermilov <ru@nginx.com>
Sun, 27 Sep 2020 20:21:09 +0000 (23:21 +0300)
commitb2b8f226f1cfaef8ca219b66374278af6fb4cf46
tree6bac312852ec1f5ee328698c04e004fa6f771f5f
parentc85d6fec217d1b17291779542de20ad77ae68661
Proxy: strengthen syntax checking for some directives.

The "false" parameter of the proxy_redirect directive is deprecated.
Warning has been emitted since c2230102df6f (0.7.54).

The "off" parameter of the proxy_redirect, proxy_cookie_domain, and
proxy_cookie_path directives tells nginx not to inherit the
configuration from the previous configuration level.

Previously, after specifying the directive with the "off" parameter,
any other directives were ignored, and syntax checking was disabled.

The syntax was enforced to allow either one directive with the "off"
parameter, or several directives with other parameters.

Also, specifying "proxy_redirect default foo" no longer works like
"proxy_redirect default".
src/http/modules/ngx_http_proxy_module.c