aboutsummaryrefslogtreecommitdiff
path: root/src/misc/ngx_cpp_test_module.cpp
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2020-09-27 23:21:09 +0300
committerRuslan Ermilov <ru@nginx.com>2020-09-27 23:21:09 +0300
commitb2b8f226f1cfaef8ca219b66374278af6fb4cf46 (patch)
tree6bac312852ec1f5ee328698c04e004fa6f771f5f /src/misc/ngx_cpp_test_module.cpp
parentc85d6fec217d1b17291779542de20ad77ae68661 (diff)
downloadnginx-b2b8f226f1cfaef8ca219b66374278af6fb4cf46.tar.gz
nginx-b2b8f226f1cfaef8ca219b66374278af6fb4cf46.zip
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".
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions