Gracefully stop Nginx after active requests finish.
nginx -s quitGracefully stop Nginx after active requests finish.
nginx -s quitGracefully stop Nginx after active requests finish.
nginx -s quit| Option / clause | Description |
|---|---|
-s quit | Ask the master process to stop gracefully. |
-c <file> | Use the specified configuration file. |
-p <prefix> | Set the server path prefix. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.