Nginx
バージョン確認
$ nginx -v
読み込まれている全設定を確認
$ nginx -T
# configuration fileの記載でどこのファイルが読み込まれているのかがわかる
通常は/etc/nginx/nginx.conf
構文チェック
$ nginx -t
設定反映(reload)
$ sudo systemctl reload nginx
再起動(restart)
$ sudo systemctl restart nginx
Nginx 設定ファイルの読み方
public.icon