Websocket is not working with Nginx Reverse Proxy

blason nginx-forum at forum.nginx.org
Mon Sep 20 02:30:42 UTC 2021


Well - I tried that as well

************
location /SNX/ {
        proxy_pass https://websocket;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
        proxy_set_header Connection "Upgrade";
                proxy_set_header Host $host;
********************
And in nginx.conf file 

http {
    map $http_upgrade $connection_upgrade {
        default upgrade;
        '' close;
    }


And still no luck - Here is what I see in access.log and it just stops
there

182.48.206.98 - - [20/Sep/2021:07:59:32 +0530] "GET
/Login/ComponentFrame?nPageMode=2&snxVersion=80,0,0064,18 HTTP/1.1" 200 1150
"https://vpn.xxxx.com/SNX/extender" "Mozilla/5.0 (Windows NT 10.0; WOW64;
Trident/7.0; rv:11.0) like Gecko"

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292420,292425#msg-292425



More information about the nginx mailing list