安装参考文章:https://blog.csdn.net/qq_44717657/article/details/131371048
nginx相关命令
进入nginx的安装目录,例如:cd /usr/local/nginx
Nginx启动命令:./sbin/nginx
Nginx重启命令:./sbin/nginx -s reload
Nginx停止命令:./sbin/nginx -s stop
测试配置文件是否正确:./sbin/nginx -t
安装参考文章:https://blog.csdn.net/qq_44717657/article/details/131371048
nginx相关命令
进入nginx的安装目录,例如:cd /usr/local/nginx
Nginx启动命令:./sbin/nginx
Nginx重启命令:./sbin/nginx -s reload
Nginx停止命令:./sbin/nginx -s stop
测试配置文件是否正确:./sbin/nginx -t