windows nginx command

1.start
start nginx.exe
or
nginx.exe

2.stop
nginx.exe -s stop
or
nginx.exe -s quit

3.reload
nginx -s reload

4.reopen log
nginx -s reopen

5. nginx vversion
nginx -v

最後查詢啟動是否成功。
輸入指令:tasklist /fi “imagename eq nginx.exe

本篇發表於 nginx。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>