Command

基本 Command

# 加上 -s option 來下指令

# 啟動 nginx
nginx

# nginx -s (signal: a signal may be one of the following)
#stop — fast shutdown
#quit — graceful shutdown
#reload — reloading the configuration file
#reopen — reopening the log files

# 關閉 nginx
nginx -s stop

Reference

http://nginx.org/en/docs/http/load_balancing.htmlarrow-up-right

Last updated