Edit on GitHub

The WebSocket protocol provides a way to create web applications that support bidirectional communication, in real time, between the customer and the server.

Azion supports the WebSocket protocol, through the Application Acceleration product.

To use Webscoket support in a configuration:

  1. Go to the Content Delivery menu of Real-Time Manager.
  2. Edit the required Content Delivery configuration.
  3. In the Main Settings tab, start up Application Acceleration and save the setting.
  4. In the Rules Engine tab, create a new rule in Response Phase. Here’s an example.
Name: WebSocket
Criteria: if ${http_upgrade} is equal websocket
and ${http_connection} is equal Upgrade
Behavior: then Bypass Cache Phase
and Add Request Header Upgrade: websocket
and Add Request Header Connection: Upgrade

Didn’t find what you were looking for? Open a support ticket.