首页 > 其他 > 详细

Nginx配置udp/tcp代理

时间:2018-12-14 11:29:00      阅读:415      评论:0      收藏:0      [点我收藏+]

 

#编译
./configure --prefix=/servyouapp/nginx  --with-stream  --with-http_stub_status_module

#nginx.conf部分配置 stream { upstream backend { server 10.7.2.86:1521; } server { listen 8686; proxy_connect_timeout 8s; proxy_timeout 24h;  #代理超时 proxy_pass backend; } }

Nginx配置udp/tcp代理

原文:https://www.cnblogs.com/larry-luo/p/10118097.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!