Mercurial > hg > nginx
diff docs/xml/http/ngx_http_core_module.xml @ 4141:a18b10aea510
Fixed markup.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 20 Sep 2011 13:15:41 +0000 |
parents | 5e2103cffd80 |
children |
line wrap: on
line diff
--- a/docs/xml/http/ngx_http_core_module.xml Tue Sep 20 11:18:32 2011 +0000 +++ b/docs/xml/http/ngx_http_core_module.xml Tue Sep 20 13:15:41 2011 +0000 @@ -153,9 +153,9 @@ </para> <para> -If <command>alias</command> is used inside a location defined +If <code>alias</code> is used inside a location defined with a regular expression then such regular expression should -contain captures and <command>alias</command> should refer to +contain captures and <code>alias</code> should refer to these captures (0.7.40), for example: <example> location ~ ^/users/(.+\.(?:gif|jpe?g|png))$ { @@ -441,7 +441,7 @@ Defines the URI that will be shown for the specified errors. These directives are inherited from the previous level if and only if there are no -<command>error_page</command> +<code>error_page</code> directives on the current level. A URI value can contain variables. @@ -1464,7 +1464,7 @@ <para> A path to the file is constructed by merely adding a URI to the value -of the <command>root</command> directive. +of the <code>root</code> directive. If a URI need to be modified, the <link id="alias">alias</link> directive should be used. </para> @@ -1879,7 +1879,7 @@ try_files $uri $uri/ @drupal; } </example> -the <command>try_files</command> directive is equivalent to +the <code>try_files</code> directive is equivalent to <example> location / { error_page 404 = @drupal; @@ -1898,7 +1898,7 @@ ... } </example> -<command>try_files</command> checks the existence of the PHP file +<code>try_files</code> checks the existence of the PHP file before passing the request to the FastCGI server. </para> @@ -2162,7 +2162,7 @@ an address of the server which accepted a request <para> Computing a value of this variable usually requires one system call. -To avoid a system call, the <command>listen</command> directives +To avoid a system call, the <link id="listen">listen</link> directives must specify addresses and use the <parameter>bind</parameter> parameter </para> </tag-desc>