Restart Nginx - 02-07-21

Normally I use

$ sudo systemctl restart nginx

but recently I had to take more drastic measures.

sudo pkill -f nginx & wait $!
sudo systemctl start nginx

source – stackoverflow

\- [ nginx ]