# X-Forwarded-Proto: https

**URL:** https://community.traefik.io/t/x-forwarded-proto-https/13689
**Category:** Traefik v2
**Tags:** docker, file
**Created:** [March 8, 2022, 1:43am UTC](https://community.traefik.io/t/x-forwarded-proto-https/13689 "2022-03-08T01:43:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rombo](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@rombo](https://community.traefik.io/u/rombo)
#### Post date: [March 8, 2022, 1:43am UTC](https://community.traefik.io/t/x-forwarded-proto-https/13689/1 "2022-03-08T01:43:52Z")

</div>

Im trying to adapt code from [launchpad/config.yml at master · techno-tim/launchpad · GitHub](https://github.com/techno-tim/launchpad/blob/master/docker/traefik/data/config.yml) and im wondering what is `X-Forwarded-Proto: https` because im following the traefik docs configs from here [DNS Challenge - Traefik](https://doc.traefik.io/traefik/user-guides/docker-compose/acme-dns/) and added this for redirection [EntryPoints - Traefik](https://doc.traefik.io/traefik/routing/entrypoints/).

```auto
--entrypoints.web.http.redirections.entryPoint.to=websecure
--entrypoints.web.http.redirections.entryPoint.scheme=https

```

So the docs push you to using websecure which is https. So does `X-Forwarded-Proto: https` need to be `X-Forwarded-Proto: websecure` or that doesnt matter in the dynamic config?

---

<div class="post-metadata">

### Author: ![tommoulard](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/tommoulard/32/2997_2.png) [@tommoulard](https://community.traefik.io/u/tommoulard)
#### Post date: [March 8, 2022, 3:58pm UTC](https://community.traefik.io/t/x-forwarded-proto-https/13689/2 "2022-03-08T15:58:16Z")

</div>

Hello @rombo,

> [@rombo](#):
>
> im wondering what is `X-Forwarded-Proto: https`

This header is set by checking out which protocol is used by the request going to Traefik.

> [@rombo](#):
>
> So the docs push you to using websecure which is https

`websecure` is a name commonly used to define the entrypoint that handles secured HTTP connections. `HTTPs` is the protocol.

> [@rombo](#):
>
> So does `X-Forwarded-Proto: https` need to be `X-Forwarded-Proto: websecure` or that doesnt matter in the dynamic config?

There is no use for this header in the DNS challenge.
