# Kanboard behind traefik with 'path'

**URL:** https://kanboard.discourse.group/t/kanboard-behind-traefik-with-path/1063
**Category:** Questions
**Created:** [March 5, 2020, 2:19pm UTC](https://kanboard.discourse.group/t/kanboard-behind-traefik-with-path/1063 "2020-03-05T14:19:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Overnuts](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/overnuts/32/546_2.png) [@Overnuts](https://kanboard.discourse.group/u/Overnuts)
#### Post date: [March 5, 2020, 2:19pm UTC](https://kanboard.discourse.group/t/kanboard-behind-traefik-with-path/1063/1 "2020-03-05T14:19:40Z")

</div>

I do succeed to run kanboard in docker as a single webapp on an URL,  
but now, I need to make it works behind a traefik which will deploy many apps.

As I can’t play with sub-domains like [http://kanboard.server.lan](http://kanboard.server.lan)  
I need to map it on [http://server.lan/kanboard](http://server.lan/kanboard)

I’ve tried things with docker-compose, the most working thing I get is a 302 redirect " location /login"  
How to tell kanboard his “root” is /kanboard ?

Failed to use "define(‘KANBOARD\_URL’…) in config.php  
Failed to use the setting in admin \> settings \> app url

traefik.http.routers.kanboard.rule=Path(`/kanboard`)

---

<div class="post-metadata">

### Author: ![ohendrick](https://avatars.discourse-cdn.com/v4/letter/o/8e7dd6/32.png) [@ohendrick](https://kanboard.discourse.group/u/ohendrick)
#### Post date: [April 10, 2020, 3:26pm UTC](https://kanboard.discourse.group/t/kanboard-behind-traefik-with-path/1063/2 "2020-04-10T15:26:08Z")

</div>

Did you manage to find an answer to this, i’m getting this also. It looks like some web apps do not handle relative paths via reverse proxy well. If you tried this with an apache container, this would work as expected.

I tried something on this thread with no luck.

> <https://github.com/kanboard/kanboard/issues/4119>
>
> This issue is:
> Bug report
> Feature request
> Improvement
> Actual behaviour
> When configuring nginx to connect to the exposed port of the kanboard container,...
