Can someone share h2c to backend example for SSL termination?

I would appreciate some help getting my HA-Proxy instance set up to accept h2 or http/1.1 traffic and perform SSL termination using the http mode. I have tried the following setup:

frontend local_fe
    mode http
    option http-use-htx
    bind *:8080 proto h2
    default_backend local_be

backend local_be
    mode http
    option http-use-htx
    server localhost localhost:9090 proto h2

However, using proto h2 still sends over the packets using https (as reported by my backend written in Jetty). Any suggestions to what I should change in my config?

1 Like