mirror of https://github.com/CrimsonTome/tldr.git
nginx:add stop,quit,reopen,reload
parent
1e6e17ba7d
commit
5283e91113
|
@ -17,3 +17,19 @@
|
||||||
- Test configuration without affecting the running server:
|
- Test configuration without affecting the running server:
|
||||||
|
|
||||||
`nginx -t`
|
`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`
|
||||||
|
|
Loading…
Reference in New Issue