summaryrefslogtreecommitdiffhomepage
path: root/docs/xml/http
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-09-20 13:15:41 +0000
committerRuslan Ermilov <ru@nginx.com>2011-09-20 13:15:41 +0000
commitb75e4a6973d8c398fbe4ed2e6669e4164b262045 (patch)
treefbce9e40889ae53c62a66b822e901d2ec85af07d /docs/xml/http
parent457f60ae0ffa4149023cfc5dc6b0d1621da48401 (diff)
downloadnginx-b75e4a6973d8c398fbe4ed2e6669e4164b262045.tar.gz
nginx-b75e4a6973d8c398fbe4ed2e6669e4164b262045.tar.bz2
Fixed markup.
Diffstat (limited to 'docs/xml/http')
-rw-r--r--docs/xml/http/ngx_http_core_module.xml14
-rw-r--r--docs/xml/http/ngx_http_mp4_module.xml2
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/xml/http/ngx_http_core_module.xml b/docs/xml/http/ngx_http_core_module.xml
index 05f50da3e..6ce4586db 100644
--- a/docs/xml/http/ngx_http_core_module.xml
+++ b/docs/xml/http/ngx_http_core_module.xml
@@ -153,9 +153,9 @@ The <argument>path</argument> value can contain variables.
</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 @@ using XFS under Linux, it needs to be increased to 4K.
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 @@ The <argument>path</argument> value can contain variables.
<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 @@ location / {
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 @@ location ~ \.php$ {
...
}
</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 @@ or
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>
diff --git a/docs/xml/http/ngx_http_mp4_module.xml b/docs/xml/http/ngx_http_mp4_module.xml
index d3332d32f..2a385618f 100644
--- a/docs/xml/http/ngx_http_mp4_module.xml
+++ b/docs/xml/http/ngx_http_mp4_module.xml
@@ -72,7 +72,7 @@ this module at all.
<para>
This module is not built by default, it should be enabled with the
-<command>--with-http_mp4_module</command>
+<code>--with-http_mp4_module</code>
configuration parameter.
<note>
If you were using the third-party mp4 module, be sure to disable it.