Nginx Websockets proxying guide

So far in the “Introduction to Nginx” course we have installed the Nginx server on Linux, discussed its configuration options, we saw how to integrate it with the Apache web server and we examined more advanced configuration options like Load balancing and SSL Support.

In this lesson, we will focus on Nginx’s Websockets proxying capabilities. WebSocket is a protocol providing full-duplex communications channels over a single TCP connection and is designed to be implemented in web browsers and servers, but it can be used by any client or server application. Nginx supports Websockets starting in version 1.3.13 and is accessible within the core product.

In order to test drive this feature, we will also build a quick Node.js application in order to better assess the Websockets capabilities of Nginx.

Get started here