Skip to content

Instantly share code, notes, and snippets.

@jackyu
Last active May 8, 2021 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jackyu/6379418 to your computer and use it in GitHub Desktop.
Save jackyu/6379418 to your computer and use it in GitHub Desktop.
[筆記][Server] Nginx 常用指令

重啟 Nginx

$ nginx -s reload

停止 Nginx

$ nginx -s start

啟動 Nginx

$ nginx -s stop

測試 Nginx 的設定檔並顯示狀態

$ nginx -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment