comparison xml/en/docs/http/ngx_http_core_module.xml @ 625:af3f38e349eb

Removed terminal whitespace and fixed apostrophes used.
author Ruslan Ermilov <ru@nginx.com>
date Sat, 11 Aug 2012 04:55:25 +0000
parents 368a449e85b8
children af23cb587b00
comparison
equal deleted inserted replaced
624:4b5163be537f 625:af3f38e349eb
123 <para> 123 <para>
124 On Linux, 124 On Linux,
125 <link id="directio"/> 125 <link id="directio"/>
126 can only be used for reading blocks that are aligned on 512-byte 126 can only be used for reading blocks that are aligned on 512-byte
127 boundaries (or 4K for XFS). 127 boundaries (or 4K for XFS).
128 Reading of unaligned file's end is still made in blocking mode. 128 Reading of unaligned file’s end is still made in blocking mode.
129 The same holds true for byte range requests, and for FLV requests 129 The same holds true for byte range requests, and for FLV requests
130 not from the beginning of a file: reading of unaligned data at the 130 not from the beginning of a file: reading of unaligned data at the
131 beginning and end of a file will be blocking. 131 beginning and end of a file will be blocking.
132 There is no need to turn off 132 There is no need to turn off
133 <link id="sendfile"/> 133 <link id="sendfile"/>
174 } 174 }
175 </example> 175 </example>
176 </para> 176 </para>
177 177
178 <para> 178 <para>
179 When location matches the last part of the directive's value: 179 When location matches the last part of the directive’s value:
180 <example> 180 <example>
181 location /images/ { 181 location /images/ {
182 alias /data/w3/images/; 182 alias /data/w3/images/;
183 } 183 }
184 </example> 184 </example>
1165 1165
1166 <tag-name> 1166 <tag-name>
1167 <literal>setfib</literal>=<value>number</value> 1167 <literal>setfib</literal>=<value>number</value>
1168 </tag-name> 1168 </tag-name>
1169 <tag-desc> 1169 <tag-desc>
1170 this parameter (0.8.44) sets an associated routing table, FIB 1170 this parameter (0.8.44) sets an associated routing table, FIB
1171 (the <c-def>SO_SETFIB</c-def> option) for the listening socket. 1171 (the <c-def>SO_SETFIB</c-def> option) for the listening socket.
1172 This currently works only on FreeBSD. 1172 This currently works only on FreeBSD.
1173 </tag-desc> 1173 </tag-desc>
1174 1174
1175 <tag-name> 1175 <tag-name>
1395 not checked. 1395 not checked.
1396 </note> 1396 </note>
1397 </para> 1397 </para>
1398 1398
1399 <para> 1399 <para>
1400 Let's illustrate the above by example: 1400 Let’s illustrate the above by example:
1401 <example> 1401 <example>
1402 location = / { 1402 location = / {
1403 [ configuration A ] 1403 [ configuration A ]
1404 } 1404 }
1405 1405
2133 </example> 2133 </example>
2134 </para> 2134 </para>
2135 2135
2136 <para> 2136 <para>
2137 If the parameter equals “<var>$hostname</var>” (0.9.4), the 2137 If the parameter equals “<var>$hostname</var>” (0.9.4), the
2138 machine's hostname is substituted. 2138 machine’s hostname is substituted.
2139 </para> 2139 </para>
2140 2140
2141 <para> 2141 <para>
2142 It is also possible to use regular expressions in server names, 2142 It is also possible to use regular expressions in server names,
2143 prepending the name with a tilde (“<literal>~</literal>”): 2143 prepending the name with a tilde (“<literal>~</literal>”):
2201 </example> 2201 </example>
2202 It allows this server to process requests without the <header>Host</header> 2202 It allows this server to process requests without the <header>Host</header>
2203 header field, instead of the default server for the given address:port pair. 2203 header field, instead of the default server for the given address:port pair.
2204 This is the default setting. 2204 This is the default setting.
2205 <note> 2205 <note>
2206 Before 0.8.48, the machine's hostname was used by default. 2206 Before 0.8.48, the machine’s hostname was used by default.
2207 </note> 2207 </note>
2208 </para> 2208 </para>
2209 2209
2210 <para> 2210 <para>
2211 When searching for a virtual server by name, 2211 When searching for a virtual server by name,
2267 <default>32|64|128</default> 2267 <default>32|64|128</default>
2268 <context>http</context> 2268 <context>http</context>
2269 2269
2270 <para> 2270 <para>
2271 Sets the bucket size for the server names hash tables. 2271 Sets the bucket size for the server names hash tables.
2272 Default value depends on the size of the processor's cache line. 2272 Default value depends on the size of the processor’s cache line.
2273 For more information, please refer to 2273 For more information, please refer to
2274 <link doc="../hash.xml">Setting Up Hashes</link>. 2274 <link doc="../hash.xml">Setting Up Hashes</link>.
2275 </para> 2275 </para>
2276 2276
2277 </directive> 2277 </directive>
2544 <context>server</context> 2544 <context>server</context>
2545 <context>location</context> 2545 <context>location</context>
2546 2546
2547 <para> 2547 <para>
2548 Sets the bucket size for the types hash tables. 2548 Sets the bucket size for the types hash tables.
2549 Default value depends on the size of the processor's cache line. 2549 Default value depends on the size of the processor’s cache line.
2550 For more information, please refer to 2550 For more information, please refer to
2551 <link doc="../hash.xml">Setting Up Hashes</link>. 2551 <link doc="../hash.xml">Setting Up Hashes</link>.
2552 </para> 2552 </para>
2553 2553
2554 </directive> 2554 </directive>
2644 arguments in the request line 2644 arguments in the request line
2645 </tag-desc> 2645 </tag-desc>
2646 2646
2647 <tag-name><var>$binary_remote_addr</var></tag-name> 2647 <tag-name><var>$binary_remote_addr</var></tag-name>
2648 <tag-desc> 2648 <tag-desc>
2649 client address in a binary form, value's length is always 4 bytes 2649 client address in a binary form, value’s length is always 4 bytes
2650 </tag-desc> 2650 </tag-desc>
2651 2651
2652 <tag-name><var>$body_bytes_sent</var></tag-name> 2652 <tag-name><var>$body_bytes_sent</var></tag-name>
2653 <tag-desc> 2653 <tag-desc>
2654 number of bytes sent to a client, not counting the response header 2654 number of bytes sent to a client, not counting the response header
2669 the <value>name</value> cookie 2669 the <value>name</value> cookie
2670 </tag-desc> 2670 </tag-desc>
2671 2671
2672 <tag-name><var>$document_root</var></tag-name> 2672 <tag-name><var>$document_root</var></tag-name>
2673 <tag-desc> 2673 <tag-desc>
2674 <link id="root"/> or <link id="alias"/> directive's value 2674 <link id="root"/> or <link id="alias"/> directive’s value
2675 for the current request 2675 for the current request
2676 </tag-desc> 2676 </tag-desc>
2677 2677
2678 <tag-name><var>$document_uri</var></tag-name> 2678 <tag-name><var>$document_uri</var></tag-name>
2679 <tag-desc> 2679 <tag-desc>
2732 </tag-desc> 2732 </tag-desc>
2733 2733
2734 <tag-name><var>$realpath_root</var></tag-name> 2734 <tag-name><var>$realpath_root</var></tag-name>
2735 <tag-desc> 2735 <tag-desc>
2736 an absolute pathname corresponding to the 2736 an absolute pathname corresponding to the
2737 <link id="root"/> or <link id="alias"/> directive's value 2737 <link id="root"/> or <link id="alias"/> directive’s value
2738 for the current request, 2738 for the current request,
2739 with all symbolic links resolved to real paths 2739 with all symbolic links resolved to real paths
2740 </tag-desc> 2740 </tag-desc>
2741 2741
2742 <tag-name><var>$remote_addr</var></tag-name> 2742 <tag-name><var>$remote_addr</var></tag-name>
2761 2761
2762 <tag-name><var>$request_body</var></tag-name> 2762 <tag-name><var>$request_body</var></tag-name>
2763 <tag-desc> 2763 <tag-desc>
2764 request body 2764 request body
2765 <para> 2765 <para>
2766 The variable's value is made available in locations 2766 The variable’s value is made available in locations
2767 processed by the 2767 processed by the
2768 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/> 2768 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>
2769 and 2769 and
2770 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/> 2770 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>
2771 directives. 2771 directives.