nginx常用命令

135 阅读1分钟

1.查看版本

./nginx -v

2.启动nginx

./nginx

3.关闭nginx

./nginx -s stop

4.重新加载nginx配置(无需重启)

./nginx -s reload