How to restart nginx under Linux

1. systemctl restart

  • systemctl restart nginx

2. Service restart

  • service nginx restart

3. reload restart (use with caution)

  • /usr/sbin/nginx -s reload

Guess you like

Origin blog.csdn.net/qq_36025814/article/details/131158214