nginx重启生效conf文件的修改

Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

D: ginx-1.13.7>taskkill /IM nginx.exe /F    -------杀死所有进程
成功: 已终止进程 "nginx.exe",其 PID 为 42908。
成功: 已终止进程 "nginx.exe",其 PID 为 36576。
成功: 已终止进程 "nginx.exe",其 PID 为 82008。
成功: 已终止进程 "nginx.exe",其 PID 为 59076。

D: ginx-1.13.7>start nginx.exe       ----重启nginx

D: ginx-1.13.7>taskkill /IM nginx.exe /F
成功: 已终止进程 "nginx.exe",其 PID 为 106252。
成功: 已终止进程 "nginx.exe",其 PID 为 124712。
成功: 已终止进程 "nginx.exe",其 PID 为 87508。
成功: 已终止进程 "nginx.exe",其 PID 为 96736。

D: ginx-1.13.7>start nginx.exe

D: ginx-1.13.7>nginx -t
nginx: [warn] conflicting server name "xxxx.xxxx.com" on 0.0.0.0:80, ignored
nginx: the configuration file D: ginx-1.13.7/conf/nginx.conf syntax is ok
nginx: configuration file D: ginx-1.13.7/conf/nginx.conf test is successful

D: ginx-1.13.7>

原文地址:https://www.cnblogs.com/nh34546/p/14604877.html