linux nginx lightweight server -- startup

WBOY
Release: 2016-08-08 09:30:03
Original
961 people have browsed it

Various parameters for nginx startup

Nginx has added some new command line parameters since version 0.7.53: -s

-s The parameter contains four commands: stop/quit/reopen/reload


# /usr/local/nginx/sbin/nginx -h

nginx version: nginx/0.7.67

Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]

Options:

-?,-h : this help

-v : show version and exit

-V : show version and configure options then exit

-t : test configuration and exit

-s signal : send signal to a master process: stop, quit, reopen, reload

-p prefix : set prefix path (default: /usr/local/nginx/)

-c filename : set configuration file (default: conf/nginx.conf)

-g directives : set global directives out of configuration file

vpser:~#

The above introduces the linux nginx lightweight server - startup chapter, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!