NGINX Core

43 — Every core and module directive — syntax, defaults, contexts, and real configuration examples.

accept_mutex The `accept_mutex` directive controls the use of mutual exclusion for… events accept_mutex_delay The 'accept_mutex_delay' directive controls the time a worker will wait for… events acceptex_read The `acceptex_read` directive enables or disables the use of the AcceptEx… events daemon The daemon directive controls whether NGINX runs in the background (daemon… main debug_connection The `debug_connection` directive specifies which client connections should be… events debug_points The `debug_points` directive controls the behavior of NGINX when specific… main devpoll_changes The devpoll_changes directive specifies the maximum number of file descriptors… events devpoll_events The `devpoll_events` directive configures NGINX to use the DEVPOLL event… events env The 'env' directive allows you to define environment variables for the NGINX… main epoll_events The `epoll_events` directive configures the events processing model for NGINX… events error_log The error_log directive in NGINX specifies the file or location where error… main eventport_events The 'eventport_events' directive configures the handling of event ports in… events events The events directive in NGINX configures the event-driven architecture for… main google_perftools_profiles The `google_perftools_profiles` directive enables profiling with Google… main http The 'http' directive in NGINX enables the HTTP server configuration context. main iocp_threads The 'iocp_threads' directive sets the number of I/O completion threads for… events kqueue_changes The `kqueue_changes` directive configures the number of changes that can be… events kqueue_events The kqueue_events directive configures NGINX to utilize the kqueue event… events load_module The `load_module` directive dynamically loads an NGINX module at runtime. main lock_file The `lock_file` directive specifies a file used to ensure that only a single… main mail The 'mail' directive is used to enable the mail processing module in NGINX… main master_process The 'master_process' directive controls the operation of the NGINX master… main multi_accept The multi_accept directive allows a worker process to accept multiple… events pcre_jit The `pcre_jit` directive enables or disables Just-In-Time (JIT) compilation… main pid The `pid` directive specifies the file where NGINX should write its process ID… main post_acceptex The 'post_acceptex' directive specifies a function to be executed after a… events quic_bpf The 'quic_bpf' directive enables or disables the use of BPF (Berkeley Packet… main ssl_engine The ssl_engine directive specifies the SSL library to be used by NGINX for SSL… main ssl_object_cache_inheritable The `ssl_object_cache_inheritable` directive determines whether SSL object… main stream The 'stream' directive defines a block for handling TCP and UDP traffic in… main thread_pool The `thread_pool` directive configures a thread pool for handling asynchronous… main timer_resolution Sets the resolution of the timer in milliseconds. main use The 'use' directive sets the method of event processing in NGINX. events user The user directive sets the user and group under which NGINX worker processes… main worker_aio_requests The 'worker_aio_requests' directive configures the maximum number of… events worker_connections The worker_connections directive sets the maximum number of simultaneous… events worker_cpu_affinity The `worker_cpu_affinity` directive binds NGINX worker processes to specific… main worker_priority Sets the priority of worker processes for better scheduling on multi-core… main worker_processes The worker_processes directive sets the number of worker processes in NGINX. main worker_rlimit_core Sets the core file size limit for worker processes. main worker_rlimit_nofile The 'worker_rlimit_nofile' directive sets the maximum number of open files… main worker_shutdown_timeout Sets the timeout for graceful shutdown of worker processes in NGINX. main working_directory Sets the working directory for the NGINX worker processes. main