comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1149:1501e5848052

Corrected the usage of the definite article.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 08 Apr 2014 20:13:53 +0400
parents d37892ad69ab
children 4c2324a7eeea
comparison
equal deleted inserted replaced
1148:2b9dc2c5e129 1149:1501e5848052
656 The directive can also be specified using regular expressions. 656 The directive can also be specified using regular expressions.
657 In this case, <value>path</value> should either start from 657 In this case, <value>path</value> should either start from
658 the “<literal>~</literal>” symbol for a case-sensitive matching, 658 the “<literal>~</literal>” symbol for a case-sensitive matching,
659 or from the “<literal>~*</literal>” symbols for case-insensitive 659 or from the “<literal>~*</literal>” symbols for case-insensitive
660 matching. 660 matching.
661 A regular expression can contain named and positional captures, 661 The regular expression can contain named and positional captures,
662 and <value>replacement</value> can reference them: 662 and <value>replacement</value> can reference them:
663 <example> 663 <example>
664 proxy_cookie_path ~*^/user/([^/]+) /u/$1; 664 proxy_cookie_path ~*^/user/([^/]+) /u/$1;
665 </example> 665 </example>
666 </para> 666 </para>
1140 <context>server</context> 1140 <context>server</context>
1141 <context>location</context> 1141 <context>location</context>
1142 1142
1143 <para> 1143 <para>
1144 Defines a timeout for reading a response from the proxied server. 1144 Defines a timeout for reading a response from the proxied server.
1145 A timeout is set only between two successive read operations, 1145 The timeout is set only between two successive read operations,
1146 not for the transmission of the whole response. 1146 not for the transmission of the whole response.
1147 If a proxied server does not transmit anything within this time, 1147 If the proxied server does not transmit anything within this time,
1148 a connection is closed. 1148 the connection is closed.
1149 </para> 1149 </para>
1150 1150
1151 </directive> 1151 </directive>
1152 1152
1153 1153
1273 The directive can be specified (1.1.11) using regular expressions. 1273 The directive can be specified (1.1.11) using regular expressions.
1274 In this case, <value>redirect</value> should either start with 1274 In this case, <value>redirect</value> should either start with
1275 the “<literal>~</literal>” symbol for a case-sensitive matching, 1275 the “<literal>~</literal>” symbol for a case-sensitive matching,
1276 or with the “<literal>~*</literal>” symbols for case-insensitive 1276 or with the “<literal>~*</literal>” symbols for case-insensitive
1277 matching. 1277 matching.
1278 A regular expression can contain named and positional captures, 1278 The regular expression can contain named and positional captures,
1279 and <value>replacement</value> can reference them: 1279 and <value>replacement</value> can reference them:
1280 <example> 1280 <example>
1281 proxy_redirect ~^(http://[^:]+):\d+(/.+)$ $1$2; 1281 proxy_redirect ~^(http://[^:]+):\d+(/.+)$ $1$2;
1282 proxy_redirect ~*/user/([^/]+)/(.+)$ http://$1.example.com/$2; 1282 proxy_redirect ~*/user/([^/]+)/(.+)$ http://$1.example.com/$2;
1283 </example> 1283 </example>
1345 <context>server</context> 1345 <context>server</context>
1346 <context>location</context> 1346 <context>location</context>
1347 1347
1348 <para> 1348 <para>
1349 Sets a timeout for transmitting a request to the proxied server. 1349 Sets a timeout for transmitting a request to the proxied server.
1350 A timeout is set only between two successive write operations, 1350 The timeout is set only between two successive write operations,
1351 not for the transmission of the whole request. 1351 not for the transmission of the whole request.
1352 If a proxied server does not receive anything within this time, 1352 If the proxied server does not receive anything within this time,
1353 a connection is closed. 1353 the connection is closed.
1354 </para> 1354 </para>
1355 1355
1356 </directive> 1356 </directive>
1357 1357
1358 1358
1515 </para> 1515 </para>
1516 1516
1517 <para> 1517 <para>
1518 The modification time of files is set according to the received 1518 The modification time of files is set according to the received
1519 <header>Last-Modified</header> response header field. 1519 <header>Last-Modified</header> response header field.
1520 A response is first written to a temporary file, and then the file is renamed. 1520 The response is first written to a temporary file,
1521 and then the file is renamed.
1521 Starting from version 0.8.9, temporary files and the persistent store 1522 Starting from version 0.8.9, temporary files and the persistent store
1522 can be put on different file systems. 1523 can be put on different file systems.
1523 However, be aware that in this case a file is copied 1524 However, be aware that in this case a file is copied
1524 across two file systems instead of the cheap renaming operation. 1525 across two file systems instead of the cheap renaming operation.
1525 It is thus recommended that for any given location both saved files and a 1526 It is thus recommended that for any given location both saved files and a