totemofwolf commented on issue #3954:
URL: https://github.com/apache/apisix/issues/3954#issuecomment-812413726


   > You need to set `enable_websocket` in the route:
   > 
https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#route
   
   Problem solved by adding an individual `host` like this >
   
   ```
   {
     "uris": [
       "/synchrony-proxy/v1/*"
     ],
     "name": "wss_wiki",
     "desc": "wss://wiki.xxx.cn",
     "priority": 10,
     "hosts": [
       "wiki.xxx.cn"
     ],
     "vars": [
       [
         "scheme",
         "==",
         "https"
       ]
     ],
     "upstream_id": "2",
     "enable_websocket": true,
     "status": 1
   }
   ```
   
   why does APISIX 2.*  not `transparent proxy requests` like 1.* (as it worked 
before)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to