Ubuntu下启动、停止nginx

nginx在ubuntu下会被安装成service, 所以相应的起止办法是:


$sudo service nginx start
$sudo service nginx stop

另外,配置文件在

$sudo vi /etc/nginx/nginx.conf

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.