diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 1124b91..898b9f1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -103,46 +103,3 @@ http { include /etc/nginx/conf.d/*.conf; 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:$server_port; # O Nginx irá manter a porta de destino original - } -} - -#mail { -# # See sample authentication script at: -# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript -# -# # auth_http localhost/auth.php; -# # pop3_capabilities "TOP" "USER"; -# # imap_capabilities "IMAP4rev1" "UIDPLUS"; -# -# server { -# listen localhost:110; -# protocol pop3; -# proxy on; -# } -# -# server { -# listen localhost:143; -# protocol imap; -# proxy on; -# } -#}