Monthly Archives: March 2024

NGINX as a Proxy for Websockets

NGINX supports WebSocket by allowing a tunnel to be set up between a client and a backend server. For NGINX to send the Upgrade request from the client to the backend server, the Upgrade and Connection headers must be set explicitly, as in this example: Building the Websocket Server Initialize your Node.js App and install […]