配置nginx负载TCP服务器
来源:互联网 发布:知乎日报for mac 编辑:程序博客网 时间:2024/06/06 10:50
--prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/bin/nginx --conf-path=/usr/local/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx/nginx.pid --user=nginx --group=nginx --with-http_ssl_module --with-http_flv_module --with-http_gzip_static_module --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fcgi --with-http_stub_status_module --with-stream
stream {
upstream obdsocket {
hash $remote_addr consistent;
server 127.0.0.1:8081 weight=5 max_fails=3 fail_timeout=30s;
server 127.0.0.1:8082 weight=5 max_fails=3 fail_timeout=30s;
}
server {
listen 8080;
proxy_connect_timeout 120s;
proxy_timeout 1200s;
proxy_pass obdsocket;
}
}
- 配置nginx负载TCP服务器
- Nginx TCP负载配置模板
- nginx服务器负载均衡配置
- Nginx服务器安装,高性能的HTTP、TCP、反向代理、负载均衡等服务和配置
- nginx配置tomcat负载均衡+nginx服务器+apache后端服务器
- nginx配置tomcat负载均衡+nginx服务器+apache后端服务器
- 服务器数据库系列 - Nginx 负载均衡配置
- Nginx负载均衡服务器配置(Linux)
- nginx架构(二)Nginx服务器实现负载均衡配置
- Nginx基于TCP的负载均衡的配置例子
- Nginx 负载均衡服务器
- 服务器负载之Nginx
- nginx负载服务器
- 如何使用Nginx配置虚拟服务器和做负载均衡
- nginx服务器图片的反向代理和负载均衡配置
- nginx服务器做负载均衡的配置实例
- Nginx配置Tomcat集群服务器的负载均衡
- 配置Nginx+keepalived高可用负载均衡服务器
- 使用微信SDK后APK打包失败
- 树basic1
- <Js>Date
- 安卓搜索框SearchView的基本用法(入门级)
- PPT幻灯片中插入Flash动画
- 配置nginx负载TCP服务器
- 数字图像处理之二直方图规定化
- maven+springmvc+spring+mybatis详细解释,亲测通过
- <Js>Math
- 写单例,看完这个就够了
- HttpURLConnection getResponseCode()方法阻塞
- 软件版本命名规则
- <Js>RegExp
- Mysql中replace into用法详细说明