Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 72:0987079ad08f
- "try_files" can be specified in the "server" context,
- "types_hash_bucket_size", "types_hash_max_size",
"variables_hash_bucket_size", "variables_hash_max_size" are documented.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 10 Oct 2011 09:23:09 +0000 |
parents | 272d99af0c15 |
children | 89c31b453d40 |
comparison
equal
deleted
inserted
replaced
71:c007b57d617c | 72:0987079ad08f |
---|---|
242 | 242 |
243 | 243 |
244 <directive name="client_body_buffer_size"> | 244 <directive name="client_body_buffer_size"> |
245 | 245 |
246 <syntax>client_body_buffer_size <argument>size</argument></syntax> | 246 <syntax>client_body_buffer_size <argument>size</argument></syntax> |
247 <default>client_body_buffer_size 8k/16k</default> | 247 <default>client_body_buffer_size 8k|16k</default> |
248 <context>http</context> | 248 <context>http</context> |
249 <context>server</context> | 249 <context>server</context> |
250 <context>location</context> | 250 <context>location</context> |
251 | 251 |
252 <para> | 252 <para> |
1808 </directive> | 1808 </directive> |
1809 | 1809 |
1810 | 1810 |
1811 <directive name="server_names_hash_bucket_size"> | 1811 <directive name="server_names_hash_bucket_size"> |
1812 <syntax>server_names_hash_bucket_size <argument>size</argument></syntax> | 1812 <syntax>server_names_hash_bucket_size <argument>size</argument></syntax> |
1813 <default>server_names_hash_bucket_size 32/64/128</default> | 1813 <default>server_names_hash_bucket_size 32|64|128</default> |
1814 <context>http</context> | 1814 <context>http</context> |
1815 | 1815 |
1816 <para> | 1816 <para> |
1817 Sets the bucket size for the server names hash tables. | 1817 Sets the bucket size for the server names hash tables. |
1818 Default value depends on the size of the processor's cache line. | 1818 Default value depends on the size of the processor's cache line. |
1863 | 1863 |
1864 <para> | 1864 <para> |
1865 Enables or disables the use of | 1865 Enables or disables the use of |
1866 the <c-def>TCP_NOPUSH</c-def> socket option on FreeBSD | 1866 the <c-def>TCP_NOPUSH</c-def> socket option on FreeBSD |
1867 or the <c-def>TCP_CORK</c-def> socket option on Linux. | 1867 or the <c-def>TCP_CORK</c-def> socket option on Linux. |
1868 Opitons are enables only when <link id="sendfile">sendfile</link> is used. | 1868 Opitons are enabled only when <link id="sendfile">sendfile</link> is used. |
1869 Enabling the option allows to | 1869 Enabling the option allows to |
1870 <list type="bullet"> | 1870 <list type="bullet"> |
1871 | 1871 |
1872 <listitem> | 1872 <listitem> |
1873 send the response header and the beginning of a file in one packet, | 1873 send the response header and the beginning of a file in one packet, |
1892 <syntax>try_files | 1892 <syntax>try_files |
1893 <argument>file</argument> ... | 1893 <argument>file</argument> ... |
1894 =<argument>code</argument> | 1894 =<argument>code</argument> |
1895 </syntax> | 1895 </syntax> |
1896 <default/> | 1896 <default/> |
1897 <context>server</context> | |
1897 <context>location</context> | 1898 <context>location</context> |
1898 | 1899 |
1899 <para> | 1900 <para> |
1900 Checks the existence of files in the specified order, and uses | 1901 Checks the existence of files in the specified order, and uses |
1901 the first found file for request processing; the processing | 1902 the first found file for request processing; the processing |
1902 is performed in this location's context. | 1903 is performed in the current context. |
1903 It is possible to check the directory existence by specifying | 1904 It is possible to check the directory existence by specifying |
1904 the slash at the end of a name, e.g. <dq><code>$uri/</code></dq>. | 1905 a slash at the end of a name, e.g. <dq><code>$uri/</code></dq>. |
1905 If none of the files were found, an internal redirect to the | 1906 If none of the files were found, an internal redirect to the |
1906 <argument>uri</argument> specified by the last argument is made. | 1907 <argument>uri</argument> specified by the last argument is made. |
1907 As of version 0.7.51, the last argument can also be a | 1908 As of version 0.7.51, the last argument can also be a |
1908 <argument>code</argument>: | 1909 <argument>code</argument>: |
1909 <example> | 1910 <example> |
2052 </para> | 2053 </para> |
2053 | 2054 |
2054 </directive> | 2055 </directive> |
2055 | 2056 |
2056 | 2057 |
2058 <directive name="types_hash_bucket_size"> | |
2059 <syntax>types_hash_bucket_size <argument>size</argument></syntax> | |
2060 <default>types_hash_bucket_size 32|64|128</default> | |
2061 <context>http</context> | |
2062 <context>server</context> | |
2063 <context>location</context> | |
2064 | |
2065 <para> | |
2066 Sets the bucket size for the types hash tables. | |
2067 Default value depends on the size of the processor's cache line. | |
2068 For more information, please refer to | |
2069 <link doc="../hash.xml">Setting Up Hashes</link>. | |
2070 </para> | |
2071 | |
2072 </directive> | |
2073 | |
2074 | |
2075 <directive name="types_hash_max_size"> | |
2076 <syntax>types_hash_max_size <argument>size</argument></syntax> | |
2077 <default>types_hash_max_size 1024</default> | |
2078 <context>http</context> | |
2079 <context>server</context> | |
2080 <context>location</context> | |
2081 | |
2082 <para> | |
2083 Sets the maximum <argument>size</argument> of the types hash tables. | |
2084 For more information, please refer to | |
2085 <link doc="../hash.xml">Setting Up Hashes</link>. | |
2086 </para> | |
2087 | |
2088 </directive> | |
2089 | |
2090 | |
2057 <directive name="underscores_in_headers"> | 2091 <directive name="underscores_in_headers"> |
2058 <syntax>underscores_in_headers <value>on</value> | <value>off</value></syntax> | 2092 <syntax>underscores_in_headers <value>on</value> | <value>off</value></syntax> |
2059 <default>underscores_in_headers off</default> | 2093 <default>underscores_in_headers off</default> |
2060 <context>http</context> | 2094 <context>http</context> |
2061 <context>server</context> | 2095 <context>server</context> |
2062 | 2096 |
2063 <para> | 2097 <para> |
2064 Enables or disables the use of underscores in client request header fields. | 2098 Enables or disables the use of underscores in client request header fields. |
2099 </para> | |
2100 | |
2101 </directive> | |
2102 | |
2103 | |
2104 <directive name="variables_hash_bucket_size"> | |
2105 <syntax>variables_hash_bucket_size <argument>size</argument></syntax> | |
2106 <default>variables_hash_bucket_size 64</default> | |
2107 <context>http</context> | |
2108 | |
2109 <para> | |
2110 Sets the bucket size for the variables hash table. | |
2111 For more information, please refer to | |
2112 <link doc="../hash.xml">Setting Up Hashes</link>. | |
2113 </para> | |
2114 | |
2115 </directive> | |
2116 | |
2117 | |
2118 <directive name="variables_hash_max_size"> | |
2119 <syntax>variables_hash_max_size <argument>size</argument></syntax> | |
2120 <default>variables_hash_max_size 512</default> | |
2121 <context>http</context> | |
2122 | |
2123 <para> | |
2124 Sets the maximum <argument>size</argument> of the variables hash table. | |
2125 For more information, please refer to | |
2126 <link doc="../hash.xml">Setting Up Hashes</link>. | |
2065 </para> | 2127 </para> |
2066 | 2128 |
2067 </directive> | 2129 </directive> |
2068 | 2130 |
2069 </section> | 2131 </section> |