From 0747f4e68b7fff5332df63698f6ca3198ff84076 Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Mon, 15 Sep 2025 18:06:26 -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:06:26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 49b0d09..6814375 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -104,27 +104,27 @@ http { include /etc/nginx/sites-enabled/*; } -#stream { +stream { # Encaminhamento da porta de sinalização SIP (TCP) -# server { -# listen 5060; -# proxy_pass 172.16.254.130:5060; -# } + 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; -# } + 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 -# } -#} + 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: