mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Fixed markup.
This commit is contained in:
parent
457f60ae0f
commit
b75e4a6973
@ -153,9 +153,9 @@ The <argument>path</argument> value can contain variables.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<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
|
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:
|
these captures (0.7.40), for example:
|
||||||
<example>
|
<example>
|
||||||
location ~ ^/users/(.+\.(?:gif|jpe?g|png))$ {
|
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.
|
Defines the URI that will be shown for the specified errors.
|
||||||
These directives are inherited from the previous level if and
|
These directives are inherited from the previous level if and
|
||||||
only if there are no
|
only if there are no
|
||||||
<command>error_page</command>
|
<code>error_page</code>
|
||||||
directives on
|
directives on
|
||||||
the current level.
|
the current level.
|
||||||
A URI value can contain variables.
|
A URI value can contain variables.
|
||||||
@ -1464,7 +1464,7 @@ The <argument>path</argument> value can contain variables.
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
A path to the file is constructed by merely adding a URI to the value
|
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
|
If a URI need to be modified, the
|
||||||
<link id="alias">alias</link> directive should be used.
|
<link id="alias">alias</link> directive should be used.
|
||||||
</para>
|
</para>
|
||||||
@ -1879,7 +1879,7 @@ location / {
|
|||||||
try_files $uri $uri/ @drupal;
|
try_files $uri $uri/ @drupal;
|
||||||
}
|
}
|
||||||
</example>
|
</example>
|
||||||
the <command>try_files</command> directive is equivalent to
|
the <code>try_files</code> directive is equivalent to
|
||||||
<example>
|
<example>
|
||||||
location / {
|
location / {
|
||||||
error_page 404 = @drupal;
|
error_page 404 = @drupal;
|
||||||
@ -1898,7 +1898,7 @@ location ~ \.php$ {
|
|||||||
...
|
...
|
||||||
}
|
}
|
||||||
</example>
|
</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.
|
before passing the request to the FastCGI server.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -2162,7 +2162,7 @@ or
|
|||||||
an address of the server which accepted a request
|
an address of the server which accepted a request
|
||||||
<para>
|
<para>
|
||||||
Computing a value of this variable usually requires one system call.
|
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
|
must specify addresses and use the <parameter>bind</parameter> parameter
|
||||||
</para>
|
</para>
|
||||||
</tag-desc>
|
</tag-desc>
|
||||||
|
@ -72,7 +72,7 @@ this module at all.
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
This module is not built by default, it should be enabled with the
|
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.
|
configuration parameter.
|
||||||
<note>
|
<note>
|
||||||
If you were using the third-party mp4 module, be sure to disable it.
|
If you were using the third-party mp4 module, be sure to disable it.
|
||||||
|
@ -245,7 +245,7 @@ Used to increase the limit without restarting the main process.
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Defines a scheduling priority for worker processes like is
|
Defines a scheduling priority for worker processes like is
|
||||||
done by the <command>nice</command>: a negative
|
done by the <command>nice</command> command: a negative
|
||||||
<argument>number</argument>
|
<argument>number</argument>
|
||||||
means higher priority.
|
means higher priority.
|
||||||
Allowed range normally varies from -20 to 20.
|
Allowed range normally varies from -20 to 20.
|
||||||
|
Loading…
Reference in New Issue
Block a user