Configuration and deployment of high-performance Web server Nginx (6) Testing common instructions for the main module of the core module

Source: Internet
Author: User

1. Daemon

Meaning: Set whether to run in daemon mode

Syntax: Daemon On|off

Default: On

Example: Daemon off;

Note: Do not use the Daemon directive in the production environment (production mode), these options are for development testing only (development mode).


2. debug_points

Meaning: Breakpoint debugging

Syntax: debug_points [Stop|abort]

Default: None

Example: Debug_points stop;

Note: There are assert assertions within Nginx that allow Nginx to interrupt the program to run, stop, or create a core file with the debugger.


3. master_process

Meaning: Set whether the main process is enabled

Syntax: master_process on|off

Default: On

Example: Master_process off;

Note: Do not use the Master_process directive in the production environment (production mode), these options are for development testing only (development mode).



4. Error_log

Meaning: Specifying the error log file

Syntax: Error_log file [Debug|info|notice|warn|error|crit]

Default: ${prefix}/logs/error.log

Example: Error_log/data/nginx/logs/error.log Debug

Note: This command is not available only in test (or development) mode, but when you add the--with-debug parameter at compile time, you can use the additional parameters of the Error_log directive, namely:

Error_log file [Debug_core|debug_alloc|debug_mutex|debug_event|debug_http|debug_imap];

Configuration and deployment of high-performance Web server Nginx (6) Testing common instructions for the main module of the core module

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.