摘要: 1.注册服务sc create Nginx binpath= D:\Nginx\nginx\nginx.exe type= own start= auto displayname= nginxApi 2.启动服务net start nginxApi 3.停止服务net stop nginxApi 4 阅读全文
posted @ 2021-04-14 15:26 一生有你.Net 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 打开nginx下面的conf文件夹下面的nginx.conf文件,如图 nginx.conf文件配置,并保存,如图:代码: #定义集群 upstream backend_server{ server localhost:9001; server localhost:9002; } listen 90 阅读全文
posted @ 2021-04-14 15:09 一生有你.Net 阅读(322) 评论(0) 推荐(0) 编辑