Skip to content

Commit

Permalink
Configure WebSockets with Envoy Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
xizon committed Dec 18, 2024
1 parent ea70462 commit f8de878
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,18 @@ socketIOClient(someUrl, {transports: ['websocket']});
```
#### 2. Other platforms
#### 2. Configure WebSockets with Envoy Proxy
TLS termination is handled at the Envoy Proxy, ensuring secure communication between the browser and the proxy. Here’s the simple configuration block you need within the HttpConnectionManager section to enable WebSocket support:
```yml
upgrade_configs:
upgrade_type: "websocket"
```
#### 3. Other platforms
Refer to: [Using multiple nodes](https://socket.io/docs/v4/using-multiple-nodes/)
Expand Down

0 comments on commit f8de878

Please sign in to comment.