From ed3e51368ac74c1078fbcc84d7e6adb6250c7341 Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Mon, 15 Sep 2025 18:03:45 -0300 Subject: [PATCH] =?UTF-8?q?[Auto-Sync]=20Atualiza=C3=A7=C3=A3o=20das=20con?= =?UTF-8?q?figura=C3=A7=C3=B5es=20em=20srvproxy001.itguys.com.br=20-=20202?= =?UTF-8?q?5-09-15=2018:03:45?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 066c710..957f4f0 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -104,7 +104,27 @@ http { include /etc/nginx/sites-enabled/*; } +stream { + # Encaminhamento da porta de sinalização SIP (TCP) + server { + listen 5060; + proxy_pass 172.16.254.130:5060; + } + # Encaminhamento da porta de sinalização SIP (UDP) + server { + listen 5060 udp; + proxy_pass 172.16.254.130:5060; + } + + # Encaminhamento da faixa de portas RTP para o áudio (UDP) + # Nota: Isto requer que o Nginx tenha sido compilado com a opção --with-stream_udp_proxy_listen_gated + # Se der erro, comece apenas com as portas 5060 e adicione esta parte depois se necessário. + server { + listen 10000-20000 udp; + proxy_pass 172.16.254.130; # O Nginx irá manter a porta de destino original + } +} #mail { # # See sample authentication script at: # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript