comparison 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
comparison
equal deleted inserted replaced
786:b4fc7d571e48 787:180a64c709d8
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_proxy_module" 10 <module name="Module ngx_http_proxy_module"
11 link="/en/docs/http/ngx_http_proxy_module.html" 11 link="/en/docs/http/ngx_http_proxy_module.html"
12 lang="en" 12 lang="en"
13 rev="3"> 13 rev="4">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_proxy_module</literal> module allows to pass 18 The <literal>ngx_http_proxy_module</literal> module allows to pass
737 </para> 737 </para>
738 738
739 </directive> 739 </directive>
740 740
741 741
742 <directive name="proxy_method">
743 <syntax><value>method</value></syntax>
744 <default/>
745 <context>http</context>
746 <context>server</context>
747 <context>location</context>
748
749 <para>
750 Specifies the HTTP <value>method</value> to use in requests forwarded
751 to the proxied server instead of the method from the client request.
752 </para>
753
754 </directive>
755
756
742 <directive name="proxy_next_upstream"> 757 <directive name="proxy_next_upstream">
743 <syntax> 758 <syntax>
744 <literal>error</literal> | 759 <literal>error</literal> |
745 <literal>timeout</literal> | 760 <literal>timeout</literal> |
746 <literal>invalid_header</literal> | 761 <literal>invalid_header</literal> |
1127 </para> 1142 </para>
1128 1143
1129 </directive> 1144 </directive>
1130 1145
1131 1146
1147 <directive name="proxy_set_body">
1148 <syntax><value>value</value></syntax>
1149 <default/>
1150 <context>http</context>
1151 <context>server</context>
1152 <context>location</context>
1153
1154 <para>
1155 Allows to redefine request body passed to the proxied server.
1156 A <value>value</value> can contain text, variables, and their combination.
1157 </para>
1158
1159 </directive>
1160
1161
1132 <directive name="proxy_set_header"> 1162 <directive name="proxy_set_header">
1133 <syntax><value>field</value> <value>value</value></syntax> 1163 <syntax><value>field</value> <value>value</value></syntax>
1134 <default>Host $proxy_host</default> 1164 <default>Host $proxy_host</default>
1135 <default>Connection close</default> 1165 <default>Connection close</default>
1136 <context>http</context> 1166 <context>http</context>