From b124f2d5b691cdf4e5e906e4b8fcc29e2db60e1d Mon Sep 17 00:00:00 2001 From: jack ning Date: Mon, 13 Oct 2025 00:18:07 +0800 Subject: [PATCH] update --- deploy/nginx/weiyuai.cn/nginx.conf | 65 ------------------------------ 1 file changed, 65 deletions(-) diff --git a/deploy/nginx/weiyuai.cn/nginx.conf b/deploy/nginx/weiyuai.cn/nginx.conf index cd280362d5..376c970896 100644 --- a/deploy/nginx/weiyuai.cn/nginx.conf +++ b/deploy/nginx/weiyuai.cn/nginx.conf @@ -129,71 +129,6 @@ stream { # Stream-level logging to aid troubleshooting error_log /var/log/nginx/stream_error.log info; - # SIP UDP passthrough - # upstream freeswitch_sip_udp { - # server 14.103.165.199:5060; # SIP UDP - public IP - # } - - # # SIP TCP passthrough - # upstream freeswitch_sip_tcp { - # server 14.103.165.199:5060; # SIP TCP - public IP - # } - - # # SIPS (TLS) passthrough on 5061 using ssl_preread - # # Ensure nginx is built with the stream_ssl_preread module. - # upstream freeswitch_sips_tcp { - # server 14.103.165.199:5061; # SIPS TCP - public IP - # } - - # # External SIP TCP (e.g., 5080) - # upstream freeswitch_external_tcp { - # server 14.103.165.199:5080; # External SIP TCP - public IP - # } - - # # STUN UDP passthrough (recommended to use coturn in production) - # upstream freeswitch_stun_udp { - # server 14.103.165.199:3478; # STUN - public IP - # } - - # # SIP UDP - # server { - # listen 5060 udp; - # proxy_pass freeswitch_sip_udp; - # proxy_timeout 3600s; - # proxy_responses 1; - # proxy_bind $remote_addr transparent; - # } - - # # SIP TCP - # server { - # listen 5060; - # proxy_pass freeswitch_sip_tcp; - # proxy_timeout 3600s; - # proxy_bind $remote_addr transparent; - # } - - # # SIPS TCP (TLS passthrough) - # server { - # listen 5061; - # proxy_pass freeswitch_sips_tcp; - # ssl_preread on; - # proxy_timeout 3600s; - # } - - # # External SIP TCP (e.g., 5080) - # server { - # listen 5080; - # proxy_pass freeswitch_external_tcp; - # proxy_timeout 3600s; - # } - - # # STUN UDP - # server { - # listen 3478 udp; - # proxy_pass freeswitch_stun_udp; - # proxy_timeout 60s; - # } - # IMPORTANT: Do NOT attempt to proxy RTP via nginx stream. # RTP uses a wide port range and should be exposed directly to FreeSWITCH # or handled via a TURN server (e.g., coturn). Remove any single-port RTP proxy.