0
点赞
收藏
分享

微信扫一扫

nginx学习笔记 nginx 配置文件位置 常用命令


一、原理

nginx学习笔记 nginx 配置文件位置 常用命令_配置文件


二、位置

配置文件位置:

/usr/local/nginx/conf/nginx.conf


控制台程序位置:

/usr/local/nginx/sbin/nginx


三、常用命令

查看版本:

./nginx -v

启动:

./nginx

关闭(有两种方式,推荐使用 ./nginx -s quit):

./nginx -s stop
./nginx -s quit

重新加载 Nginx 配置文件:

./nginx -s reload





举报

相关推荐

0 条评论