diff --git a/traefik/readme.md b/traefik/readme.md index 778f570..0660be8 100644 --- a/traefik/readme.md +++ b/traefik/readme.md @@ -69,7 +69,7 @@ Then all you have to do is add these labels to the compose.yml of all your conta - "traefik.enable=true" - "traefik.http.routers.CONTAINER_NAME.entrypoints=http" # You can skip this line if you do not need http access at all. HTTP access can be useful for internal networks DNS resolver. - "traefik.http.routers.CONTAINER_NAME.rule=Host(`SUBDOMAIN.YOURDOMAIN.COM`)" # Same thing for this line. This is only for http. - - traefik.http.routers.CONTAINER_NAME.middlewares=https-redirect@file # Remove this line if you do not want automatic http to https redirection or if you skipped the two lines above. + - "traefik.http.routers.CONTAINER_NAME.middlewares=https-redirect@file" # Remove this line if you do not want automatic http to https redirection or if you skipped the two lines above. - "traefik.http.routers.CONTAINER_NAME-secure.entrypoints=https" - "traefik.http.routers.CONTAINER_NAME-secure.rule=Host(`SUBDOMAIN.YOURDOMAIN.COM`)" - "traefik.http.routers.CONTAINER_NAME-secure.tls=true" @@ -104,7 +104,7 @@ services: - "traefik.enable=true" - "traefik.http.routers.heimdall.entrypoints=http" - "traefik.http.routers.heimdall.rule=Host(`heimdall.example.com`)" - - traefik.http.routers.heimdall.middlewares=https-redirect@file + - "traefik.http.routers.heimdall.middlewares=https-redirect@file" - "traefik.http.routers.heimdall-secure.entrypoints=https" - "traefik.http.routers.heimdall-secure.rule=Host(`heimdall.example.com`)" - "traefik.http.routers.heimdall-secure.tls=true"