centos Nginx is stop! 是怎么回事 怎么启动Nginx?

发布网友

我来回答

1个回答

热心网友

# /etc/init.d/nginx restart
OR
# /etc/init.d/nginx reload
OR
# service nginx restart
OR
# service nginx reload
However, recommend way is as follows. This should work with any Linux distributions or Unix like operating systems:
# nginx -s reload
OR
# /path/to/full/nginx -s reload
If nginx compiled and installed from source code
If nginx binary is installed at /usr/local/nginx/sbin/nginx, enter:
# /usr/local/nginx/sbin/nginx -s reload

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com