Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1524:323b0d071166
Relocated proxy_read_timeout and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 30 Jun 2015 22:42:38 +0300 |
parents | 3687cc9a3592 |
children | a13a99cf46ea |
comparison
equal
deleted
inserted
replaced
1523:3b4a86b3515e | 1524:323b0d071166 |
---|---|
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="38"> | 13 rev="39"> |
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 passing | 18 The <literal>ngx_http_proxy_module</literal> module allows passing |
1280 </para> | 1280 </para> |
1281 | 1281 |
1282 </directive> | 1282 </directive> |
1283 | 1283 |
1284 | 1284 |
1285 <directive name="proxy_pass_request_body"> | |
1286 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
1287 <default>on</default> | |
1288 <context>http</context> | |
1289 <context>server</context> | |
1290 <context>location</context> | |
1291 | |
1292 <para> | |
1293 Indicates whether the original request body is passed | |
1294 to the proxied server. | |
1295 <example> | |
1296 location /x-accel-redirect-here/ { | |
1297 proxy_method GET; | |
1298 proxy_pass_request_body off; | |
1299 proxy_set_header Content-Length ""; | |
1300 | |
1301 proxy_pass ... | |
1302 } | |
1303 </example> | |
1304 See also the <link id="proxy_set_header"/> and | |
1305 <link id="proxy_pass_request_headers"/> directives. | |
1306 </para> | |
1307 | |
1308 </directive> | |
1309 | |
1310 | |
1311 <directive name="proxy_pass_request_headers"> | |
1312 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
1313 <default>on</default> | |
1314 <context>http</context> | |
1315 <context>server</context> | |
1316 <context>location</context> | |
1317 | |
1318 <para> | |
1319 Indicates whether the header fields of the original request are passed | |
1320 to the proxied server. | |
1321 <example> | |
1322 location /x-accel-redirect-here/ { | |
1323 proxy_method GET; | |
1324 proxy_pass_request_headers off; | |
1325 proxy_pass_request_body off; | |
1326 | |
1327 proxy_pass ... | |
1328 } | |
1329 </example> | |
1330 See also the <link id="proxy_set_header"/> and | |
1331 <link id="proxy_pass_request_body"/> directives. | |
1332 </para> | |
1333 | |
1334 </directive> | |
1335 | |
1336 | |
1285 <directive name="proxy_read_timeout"> | 1337 <directive name="proxy_read_timeout"> |
1286 <syntax><value>time</value></syntax> | 1338 <syntax><value>time</value></syntax> |
1287 <default>60s</default> | 1339 <default>60s</default> |
1288 <context>http</context> | 1340 <context>http</context> |
1289 <context>server</context> | 1341 <context>server</context> |
1293 Defines a timeout for reading a response from the proxied server. | 1345 Defines a timeout for reading a response from the proxied server. |
1294 The timeout is set only between two successive read operations, | 1346 The timeout is set only between two successive read operations, |
1295 not for the transmission of the whole response. | 1347 not for the transmission of the whole response. |
1296 If the proxied server does not transmit anything within this time, | 1348 If the proxied server does not transmit anything within this time, |
1297 the connection is closed. | 1349 the connection is closed. |
1298 </para> | |
1299 | |
1300 </directive> | |
1301 | |
1302 | |
1303 <directive name="proxy_pass_request_body"> | |
1304 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
1305 <default>on</default> | |
1306 <context>http</context> | |
1307 <context>server</context> | |
1308 <context>location</context> | |
1309 | |
1310 <para> | |
1311 Indicates whether the original request body is passed | |
1312 to the proxied server. | |
1313 <example> | |
1314 location /x-accel-redirect-here/ { | |
1315 proxy_method GET; | |
1316 proxy_pass_request_body off; | |
1317 proxy_set_header Content-Length ""; | |
1318 | |
1319 proxy_pass ... | |
1320 } | |
1321 </example> | |
1322 See also the <link id="proxy_set_header"/> and | |
1323 <link id="proxy_pass_request_headers"/> directives. | |
1324 </para> | |
1325 | |
1326 </directive> | |
1327 | |
1328 | |
1329 <directive name="proxy_pass_request_headers"> | |
1330 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
1331 <default>on</default> | |
1332 <context>http</context> | |
1333 <context>server</context> | |
1334 <context>location</context> | |
1335 | |
1336 <para> | |
1337 Indicates whether the header fields of the original request are passed | |
1338 to the proxied server. | |
1339 <example> | |
1340 location /x-accel-redirect-here/ { | |
1341 proxy_method GET; | |
1342 proxy_pass_request_headers off; | |
1343 proxy_pass_request_body off; | |
1344 | |
1345 proxy_pass ... | |
1346 } | |
1347 </example> | |
1348 See also the <link id="proxy_set_header"/> and | |
1349 <link id="proxy_pass_request_body"/> directives. | |
1350 </para> | 1350 </para> |
1351 | 1351 |
1352 </directive> | 1352 </directive> |
1353 | 1353 |
1354 | 1354 |