[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-20 13:03:04
This commit is contained in:
parent
d3a5ff7167
commit
e909b21473
|
|
@ -103,46 +103,3 @@ http {
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
include /etc/nginx/sites-enabled/*;
|
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;
|
|
||||||
# }
|
|
||||||
#}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue