mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Finished initial translation of the Core and HTTP Core modules.
This commit is contained in:
parent
12a9b32cca
commit
fbbde8871e
File diff suppressed because it is too large
Load Diff
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
<example>
|
<example>
|
||||||
user www www;
|
user www www;
|
||||||
worker_processes 2;
|
worker_processes 2;
|
||||||
|
|
||||||
error_log /var/log/nginx-error.log info;
|
error_log /var/log/nginx-error.log info;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
use kqueue;
|
use kqueue;
|
||||||
worker_connections 2048;
|
worker_connections 2048;
|
||||||
}
|
}
|
||||||
|
|
||||||
...
|
...
|
||||||
@ -65,7 +65,7 @@ module;
|
|||||||
<listitem>
|
<listitem>
|
||||||
use of variables by worker processes.
|
use of variables by worker processes.
|
||||||
Please bear in mind that controlling system libraries in this way
|
Please bear in mind that controlling system libraries in this way
|
||||||
isn't always possible as it's not uncommon for libraries to check
|
is not always possible as it is not uncommon for libraries to check
|
||||||
variables only during initialization, well before they can be set
|
variables only during initialization, well before they can be set
|
||||||
using this directive.
|
using this directive.
|
||||||
An exception from this is an above mentioned
|
An exception from this is an above mentioned
|
||||||
@ -85,9 +85,9 @@ module, unless configured explicitly.
|
|||||||
<para>
|
<para>
|
||||||
Usage example:
|
Usage example:
|
||||||
<example>
|
<example>
|
||||||
env MALLOC_OPTIONS;
|
env MALLOC_OPTIONS;
|
||||||
env PERL5LIB=/data/site/modules;
|
env PERL5LIB=/data/site/modules;
|
||||||
env OPENSSL_ALLOW_PROXY_CERTS=1;
|
env OPENSSL_ALLOW_PROXY_CERTS=1;
|
||||||
</example>
|
</example>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -108,8 +108,8 @@ syntactically correct directives and blocks.
|
|||||||
<para>
|
<para>
|
||||||
Usage example:
|
Usage example:
|
||||||
<example>
|
<example>
|
||||||
include mime.types;
|
include mime.types;
|
||||||
include vhosts/*.conf;
|
include vhosts/*.conf;
|
||||||
</example>
|
</example>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ called once per specified <argument>interval</argument>.
|
|||||||
<para>
|
<para>
|
||||||
Example:
|
Example:
|
||||||
<example>
|
<example>
|
||||||
timer_resolution 100ms;
|
timer_resolution 100ms;
|
||||||
</example>
|
</example>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -194,11 +194,11 @@ An internal implementation of interval depends on the method used:
|
|||||||
<list type="bullet">
|
<list type="bullet">
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
an <c-def>EVFILT_TIMER</c-def> filter if <code>kqueue</code> is used;
|
an <c-def>EVFILT_TIMER</c-def> filter if <value>kqueue</value> is used;
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<c-func>timer_create</c-func> if <code>eventport</code> is used;
|
<c-func>timer_create</c-func> if <value>eventport</value> is used;
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -255,7 +255,7 @@ Allowed range normally varies from -20 to 20.
|
|||||||
<para>
|
<para>
|
||||||
Example:
|
Example:
|
||||||
<example>
|
<example>
|
||||||
worker_priority -10;
|
worker_priority -10;
|
||||||
</example>
|
</example>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ Defines the number of worker processes.
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Defines a current working directory for a worker process.
|
Defines a current working directory for a worker process.
|
||||||
It's primarily used for writing a core-file, in which case
|
It is primarily used when writing a core-file, in which case
|
||||||
a working process should have write permission for the
|
a working process should have write permission for the
|
||||||
specified directory.
|
specified directory.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user