首頁  >  文章  >  後端開發  >  linux nginx輕量級伺服器 -- 啟動篇

linux nginx輕量級伺服器 -- 啟動篇

WBOY
WBOY原創
2016-08-08 09:30:03964瀏覽

nginx 啟動的多種參數

Nginx 從0.7.53 版本之後新增了一些命令列參數:-s

-s 參數包含四個命令分別是stop/quit/open/reload


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

nginx version: nr/0.7. ] [-c filename] [-p prefix] [-g directives]

Options:

-?,-h        and exit

-V : show version and configure options then exit

-t            : test configuration and exit

, opens-s signal s

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

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

vpser:~#

以上就介紹了linux nginx輕量級伺服器 -- 啟動篇,包含了方面的內容,希望對PHP教學有興趣的朋友有所幫助。

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn