Skip to content

Commit

Permalink
Update Traefik Example
Browse files Browse the repository at this point in the history
A recent update to Traefik has made a breaking change with this configuration where the three piped domains can not be separated by commas anymore, instead the proper syntax is now an individual Host variable for each domain separated by && or ||, in this example I've opted for || as that works on my machine.
Documentation for this syntax can be found here: https://doc.traefik.io/traefik/v3.0/routing/routers/#rule
  • Loading branch information
Wave6677 authored and Bnyro committed May 12, 2024
1 parent ed1db90 commit f8bf0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/self-hosting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ This must be applied on the nginx container.
```
labels:
- "traefik.enable=true"
- "traefik.http.routers.piped.rule=Host(`hostname`,`hostname2`,`hostname3`)"
- "traefik.http.routers.piped.rule=Host(`piped.yourdomain.tld`) || Host(`pipedapi.yourdomain.tld`) || Host(`pipedproxy.yourdomain.tld`)"
- "traefik.http.routers.piped.entrypoints=web"
```

Expand Down

0 comments on commit f8bf0f0

Please sign in to comment.