linux nginx轻量级服务器 -- 启动篇

WBOY
Freigeben: 2016-08-08 09:30:03
Original
970 Leute haben es durchsucht

nginx 启动的多种参数

Nginx 从 0.7.53 版本之后新增了一些命令行参数:-s

-s 参数包含四个命令分别是 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:~#

以上就介绍了linux nginx轻量级服务器 -- 启动篇,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!