Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_proxy_module.xml @ 787:180a64c709d8
Documented "proxy_set_body" and "proxy_method" directives.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 21 Dec 2012 07:22:33 +0000 |
parents | 24b1b0101250 |
children | 1063836dacea |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Wed Dec 19 10:50:59 2012 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Fri Dec 21 07:22:33 2012 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="3"> + rev="4"> <section id="summary"> @@ -739,6 +739,21 @@ </directive> +<directive name="proxy_method"> +<syntax><value>method</value></syntax> +<default/> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Specifies the HTTP <value>method</value> to use in requests forwarded +to the proxied server instead of the method from the client request. +</para> + +</directive> + + <directive name="proxy_next_upstream"> <syntax> <literal>error</literal> | @@ -1129,6 +1144,21 @@ </directive> +<directive name="proxy_set_body"> +<syntax><value>value</value></syntax> +<default/> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Allows to redefine request body passed to the proxied server. +A <value>value</value> can contain text, variables, and their combination. +</para> + +</directive> + + <directive name="proxy_set_header"> <syntax><value>field</value> <value>value</value></syntax> <default>Host $proxy_host</default>