nginx and freeswitch - VIA issue
hello I am trying to proxy all websocket requests though a nginx server in order to have wss -> nginx --> ws -> fs FS is listening on "127.0.0.01:5075" for ws and so nginx is configured to proxy-pass to "127.0.0.1:5075" when trying request from brower, I see a REGISTER coming to the freeSWITCH, but the VIA header seems invalid : nta.c:3146 agent_check_request_via() nta: Via check: invalid transport "SIP/2.0/WSS" do you know how to do to have correct VIA ? is there anything to deal with ACL ? my nginx configuration is this : ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!MD5:!RC4:!EXPORT:!aNULL:!eNULL:!SSLv2:!IDEA:!3DES; ssl_prefer_server_ciphers on; ssl_session_tickets off ; ssl_session_timeout 5m; ssl_session_cache shared:SSL:5m; ssl_certificate ssl.crt/mydomain.com_chain.crt; ssl_certificate_key ssl.key/mydomain.com.key; location / { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_http_version 1.1; proxy_set_header Host $host; proxy_pass http://127.0.0.1:5075; thanks regards
participants (1)
-
Kakiman Expert