diff --git a/traefik/readme.md b/traefik/readme.md index 87bac3f..846f0de 100644 --- a/traefik/readme.md +++ b/traefik/readme.md @@ -67,9 +67,9 @@ Then all you have to do is add these labels to the compose.yml of all your conta ``` labels: - "traefik.enable=true" - - "traefik.http.routers.CONTAINER_NAME.entrypoints=http" - - "traefik.http.routers.CONTAINER_NAME.rule=Host(`SUBDOMAIN.YOURDOMAIN.COM`)" - - traefik.http.routers.CONTAINER_NAME.middlewares=https-redirect@file # Remove this line if you do not want automatic http to https redirection + - "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.entrypoints=https" - "traefik.http.routers.CONTAINER_NAME.rule=Host(`SUBDOMAIN.YOURDOMAIN.COM`)" - "traefik.http.routers.CONTAINER_NAME.tls=true"