如何在windows下配置nginx,实现udp的负载均衡, 我配置的一直都不成功
user nobody;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
Load balanceUDP-based DNS traffic across two servers
stream {
upstream dns {
server 10.10.20.38:20086;
}
server {
listen 20085 udp ;
proxy_responses 1;
proxy_pass dns;
}
}
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
windows 防火墙有没有允许
20086
端口?windows的nginx 版本是不支持udp的