一、nginx相关命令:
1.nginx配置测试命令:
进入nginx安装目录下的sbin目录下
./nginx -t
2.nginx启动命令:
./nginx -c /usr/local/nginx/conf/nginx.conf
3.nginx重启命令:
./nginx -s reload