ホームページ  >  記事  >  運用・保守  >  Nginxの一般的な操作コマンドは何ですか?

Nginxの一般的な操作コマンドは何ですか?

王林
王林転載
2023-05-14 17:40:071960ブラウズ

Nginxの一般的な操作コマンドは何ですか?

閉じる

service nginx stop
systemctl stop nginx

開始

service nginx start
systemctl start nginx

再起動

service nginx reload
systemctl restart nginx

システム起動時に自動的に実行

systemctl enable nginx

システム起動時の自動実行を禁止

systemctl disable nginx

ナレッジポイント拡張:

首先利用配置文件启动nginx

命令: nginx -c /usr/local/nginx/conf/nginx.conf

重启服务: service nginx restart

快速停止或关闭Nginx:nginx -s stop

正常停止或关闭Nginx:nginx -s quit

配置文件修改重装载命令:nginx -s reload

以上がNginxの一般的な操作コマンドは何ですか?の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明:
この記事はyisu.comで複製されています。侵害がある場合は、admin@php.cn までご連絡ください。