# TCP only proxy changes https to http

**URL:** <https://discourse.haproxy.org/t/tcp-only-proxy-changes-https-to-http/8675>\
**Category:** Help!\
**Created:** [May 4, 2023, 7:54pm UTC](https://discourse.haproxy.org/t/tcp-only-proxy-changes-https-to-http/8675 "2023-05-04T19:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![porton](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@porton](https://discourse.haproxy.org/u/porton)\
**Post date:** [May 4, 2023, 7:54pm UTC](https://discourse.haproxy.org/t/tcp-only-proxy-changes-https-to-http/8675/1 "2023-05-04T19:54:46Z")

</div>

I have a very simple tcp proxy where the backend is serving SSL encrypted content.

My understanding is that in the config below there is no manipulation of the content passing through; however, some redirects are changing from https to http. If the same request is made while bypassing HAproxy the protocol does not change.

```auto
defaults
        log global
        mode tcp
        option tcplog
        option dontlognull
        timeout connect 5000
        timeout client 50000
        timeout server 50000

frontend tcp-fe
       bind :443
        mode tcp
        option tcplog
        default_backend ingress

backend ingress
        mode tcp
        server ingress 100.64.1.27:443 check

```
