Nginx配置udp/tcp代理


 

#編譯
./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; } }


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM