进入nginx可执行目录sbin下,输入命令./nginx -s reload 即可
./nginx -s reload
或者
开启nginx进程 /usr/local/nginx/sbin/nginx 重启或关闭进程: /usr/local/nginx/sbin/nginx -s reload /usr/local/nginx/sbin/nginx -s stop
./nginx -s reload
或者
开启nginx进程 /usr/local/nginx/sbin/nginx 重启或关闭进程: /usr/local/nginx/sbin/nginx -s reload /usr/local/nginx/sbin/nginx -s stop