# Traefik \>=2.0 and onlyoffice not work, work correctly in V\<2

**URL:** <https://community.traefik.io/t/traefik-2-0-and-onlyoffice-not-work-work-correctly-in-v-2/3286>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [December 4, 2019, 3:59pm UTC](https://community.traefik.io/t/traefik-2-0-and-onlyoffice-not-work-work-correctly-in-v-2/3286 "2019-12-04T15:59:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RealOrangeOne](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/realorangeone/32/1111_2.png) [@RealOrangeOne](https://community.traefik.io/u/RealOrangeOne)\
**Post date:** [January 21, 2020, 9:54pm UTC](https://community.traefik.io/t/traefik-2-0-and-onlyoffice-not-work-work-correctly-in-v-2/3286/4 "2020-01-21T21:54:37Z")

</div>

I've been fighting this issue for the past 2 days, and I finally have the solution. Not an explanation, a solution.

The important like in @DirkieP's configuration is:

`- "traefik.http.middlewares.oo-header.headers.customRequestHeaders.X-Forwarded-Proto=https"`

(and it's accompanying middleware attachment)

For the life of me, I can't work out why this is needed,, as according to [https://github.com/containous/whoami/](https://github.com/containous/whoami/), my traefik is already sending `X-Forwarded-Proto: https`, but hey, it's working.

I hope this prevents someone else from banging their head against their desk for 2 days!

---

_[View the full topic](https://community.traefik.io/t/traefik-2-0-and-onlyoffice-not-work-work-correctly-in-v-2/3286)._
