Stop nginx immediately, dropping active connections
-s sends a signal to the running master process, and stop terminates nginx right away, cutting off in-flight requests. Prefer nginx -s quit when you want a graceful shutdown that lets workers finish. Start the server again with systemctl start nginx.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.