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
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
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询