1 killall -9 nginx(先停掉nginx) 2 nginx或service nginx restart(重新启动) 转载于:https://www.cnblogs.com/xiaoyaowuming/p/5891492.html