先进入nginx.exe所在文件夹
cd D:\nginx
常用命令如下
D:\nginx>start nginx ---启动 D:\nginx>nginx -s reload ---重新加载配置 D:\nginx>tasklist /fi "imagename eq nginx.exe ---查看nginx进程 D:\nginx>nginx -s stop ---启动
杀掉nginx进程
D:\nginx>taskkill /f /pid 16900 /pid 19012
nginx代理rtsp视频流资源
stream { upstream backend { server 10.3.251.51:554; } server { listen 554; proxy_pass backend; } } 负载均衡代理 stream { upstream kube-apiserver { server 192.168.10.64:6443 max_fails=3 fail_timeout=30s; server 192.168.10.65:6443 max_fails=3 fail_timeout=30s; } server { listen 7443; proxy_connect_timeout 2s; proxy_timeout 900s; proxy_pass kube-apiserver; } }
标签:命令,30s,server,---,nginx,proxy,timeout From: https://www.cnblogs.com/MirZhai/p/18221738