# Traefik 背后的讨论 🐁

**URL:** https://meta.discourse.org/t/discourse-behind-traefik/84874
**Category:** Self-hosting
**Created:** [2018年四月9日 11:33 UTC](https://meta.discourse.org/t/discourse-behind-traefik/84874 "2018-04-09T11:33:04Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)
#### Post date: [2018年六月3日 06:30 UTC](https://meta.discourse.org/t/discourse-behind-traefik/84874/7 "2018-06-03T06:30:27Z")

</div>

I never got the labels section working, so I just have a docker\_args section that looks like this:

```yaml
docker_args:
  - "--network=web"
  - "--expose=80"
  - "-l traefik.backend=forums"
  - "-l traefik.frontend.rule=Host:forums.domain.com,cf-cdn.domain.com"
  - "-l traefik.docker.network=web"
  - "-l traefik.port=80"

```

Not necessarily elegant, but it works.

---

_[View the full topic](https://meta.discourse.org/t/discourse-behind-traefik/84874)._
