
Nginx——Ngine X,是一款高性能的反向代理服务器;也是一个IMAP、POP3、SMTP代理服务器;也是一个Http服务器。也就是说Nginx本身就可以托管网站,进行Http服务处理,也可以作为反向代理服务器使用。
关闭
service nginx stop
systemctl stop nginx
启动
service nginx start
systemctl start nginx
重启
service nginx reload
systemctl restart nginx
随系统启动自动运行
systemctl enable nginx
禁止随系统启动自动运行
systemctl disable nginx
知识点扩展:
首先利用配置文件启动nginx
命令: nginx -c /usr/local/nginx/conf/nginx.conf
重启服务: service nginx restart
快速停止或关闭Nginx:nginx -s stop
正常停止或关闭Nginx:nginx -s quit
配置文件修改重装载命令:nginx -s reload
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/212175.html<