Update Traefik Example

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
This commit is contained in:
Wave 2024-05-11 10:27:07 +00:00 committed by Bnyro
parent ed1db90613
commit f8bf0f0471
1 changed files with 1 additions and 1 deletions

View File

@ -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"
```