From ecf83ef9556d9aa6598423c9115a686c370418d7 Mon Sep 17 00:00:00 2001
From: Ruslan Ermilov Example Configuration
-user www www;
-worker_processes 2;
+user www www;
+worker_processes 2;
-error_log /var/log/nginx-error.log info;
+error_log /var/log/nginx-error.log info;
events {
- use kqueue;
- worker_connections 2048;
+ use kqueue;
+ worker_connections 2048;
}
...
@@ -33,7 +33,7 @@ module;
Usage example:
-env MALLOC_OPTIONS; -env PERL5LIB=/data/site/modules; -env OPENSSL_ALLOW_PROXY_CERTS=1; +env MALLOC_OPTIONS; +env PERL5LIB=/data/site/modules; +env OPENSSL_ALLOW_PROXY_CERTS=1;
include file | maskUsage example:
-include mime.types; -include vhosts/*.conf; +include mime.types; +include vhosts/*.conf;
master_process on | offmaster_process oninterval.
Example:
-timer_resolution 100ms; +timer_resolution 100ms;
An internal implementation of interval depends on the method used:
Example:
-worker_priority -10; +worker_priority -10;
worker_processes numberworker_processes 1mainDefines 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 specified directory.
-- cgit