From 5283e9111396f356737460d356716a7010f73310 Mon Sep 17 00:00:00 2001 From: "zzgigi2005@163.com" Date: Sun, 10 Jan 2016 19:22:06 +0800 Subject: [PATCH] nginx:add stop,quit,reopen,reload --- pages/common/nginx.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/common/nginx.md b/pages/common/nginx.md index 3dfa839066..321d2af5c6 100644 --- a/pages/common/nginx.md +++ b/pages/common/nginx.md @@ -17,3 +17,19 @@ - Test configuration without affecting the running server: `nginx -t` + +- Reload configuration, gracefully shut down old worker processes + +`nginx -s reload` + +- Shut down quickly + +`nginx -s stop` + +- Shut down gracefully + +`nginx -s quit` + +- Reopen log files + +`nginx -s reopen`