175
166

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

nginx起動、再起動

Last updated at Posted at 2016-07-20

起動
$ sudo service nginx start

再起動
$ sudo nginx -s reload

停止
nginx -s stop

設定ファイルのチェック
nginx -t

設定ファイルの場所

メインの設定ファイル
cd /etc/nginx/

各サーバー甩設定ファイル
cd /etc/nginx/conf.d/

175
166
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
175
166

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?