Configuring HTTP/2 on an OVHcloud Load Balancer service

Configuring HTTP/2 on an OVHcloud Load Balancer service

Last updated 15th January 2018


The OVHcloud Load Balancer does not currently support the HTTP/2 protocol. However, you can bypass this restriction by using TCP mode with the ALPN extension of the TLS protocol.

ALPN (Application-Layer Protocol Negotiation) is a TLS extension that enables the application layer to negotiate which protocol will be used (h2 in this case).

This guide is designed to help you create an HTTP/2 service with the OVHcloud Load Balancer solution. Here, we will configure this service to balance the load across several servers responding with HTTP/2.


  • You need to have created a TCP front-end.
  • You need to have created a TCP farm, with servers added to it.


The order in which you create elements is important: the routes must be configured before you attach them to rules.

Add a route

We will add a route to our service.

Via the API



<Load Balancer ID>





<ID of your TCP farm that must manage the HTTP/2>


<ID of your front-end TCP 443>

Add a rule

We will now add a rule to our route.

Via the API



<Load Balancer ID>


<ID of the route created above>







Apply the modifications

The modifications made to your OVHcloud Load Balancer must be explicitly applied in each of the zones configured for your service. Only at this point will they be visible to your website visitors. This way, you can make complex configuration changes in one go.

If you have several zones, you must apply the same configuration for each of them.

Via the API

Refresh a zone:


serviceName *

<Load Balancer ID>


<zone to deploy the configuration in>


After you have completed all of these steps, you should have a functional load balancer service for your HTTP/2 servers. You can now confirm the status of your service by requesting it from your OVHcloud Load Balancer service, then verifying the response version:

curl -I --http2
HTTP/2 200

Go further

Join our community of users on

Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.

These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community