today-i-learnt

Graceful nginx shutdown

Category sysadmin
Added on 2020-11-20
Source source

Using nginx command line and passing -s quit will terminate NGINX once all connections have been completed.

sudo nginx -s quit

More on NGINX signals: Controlling NGINX