# Can someone share h2c to backend example for SSL termination?

**URL:** <https://discourse.haproxy.org/t/can-someone-share-h2c-to-backend-example-for-ssl-termination/3665>\
**Category:** Help!\
**Created:** [March 27, 2019, 10:37pm UTC](https://discourse.haproxy.org/t/can-someone-share-h2c-to-backend-example-for-ssl-termination/3665 "2019-03-27T22:37:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamsimam](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/shamsimam/32/745_2.png) [@shamsimam](https://discourse.haproxy.org/u/shamsimam)\
**Post date:** [March 27, 2019, 10:37pm UTC](https://discourse.haproxy.org/t/can-someone-share-h2c-to-backend-example-for-ssl-termination/3665/1 "2019-03-27T22:37:41Z")

</div>

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:

```auto
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?
