nginx -s quit

Category: Web Servers & Proxies

nginx -s quit

Stop nginx gracefully after current requests finish

Tells the master process to shut down smoothly, letting worker processes finish serving open connections before exiting. Use this instead of nginx -s stop when you can tolerate a short drain period. Equivalent to sending the QUIT signal to the master process.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.