diff --git a/wiki/docker/traefik.md b/wiki/docker/traefik.md index 81b9eaa..9be36c3 100644 --- a/wiki/docker/traefik.md +++ b/wiki/docker/traefik.md @@ -231,10 +231,15 @@ In both of those cases the line of the first code block in this section that spe and subdomain needs to include both the www and the non-www domains. This should look something like the following +Make sure to add the domain that will be redirected to the labels aswell. +For redirection to www domains this will look something like the following. + ```yml - - "traefik.http.routers.-secure.rule=Host(`www..`, `.`)" + - "traefik.http.routers..rule=Host(`.`)" ``` +In the opposite case the domain will be `www..`. + ## Setup Mailserver If setting up a