# 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

{% embed url="<http://nginx.org/en/docs/>" %}

{% embed url="<https://blog.hellojcc.tw/nginx-beginner-tutorial/>" %}

<http://nginx.org/en/docs/http/load_balancing.html>&#x20;
