Mac under nginx start command

Mac under nginx startup, shutdown and restart commands

nginx start
1, start nginx: sudo nginx
2, close nginx: sudo nginx -s stop
3, restart nginx: sudo nginx -s reload
nginx start
1, start nginx: sudo nginx
2, close nginx: sudo nginx -s stop
3, restart nginx: sudo nginx -s reload

Guess you like

Origin www.cnblogs.com/WPF0414/p/11391419.html