I'm running traefik:latest as a container with this global configuration :
- "--entryPoints.web.address=:80"
- "--entryPoints.websecure.address=:443"
# Http -> Https
- "traefik.http.routers.http-catchall.rule=HostRegexp(`{host:.+}`)"
- "traefik.http.routers.http-catchall.entrypoints=web"
- "traefik.http.routers.http-catchall.middlewares=redirect-to-https"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.tls=true"
Traefik is working with all my apps except one.. one that doesn't support HTTP but only supports HTTPS..
This is my app configuration :
- "traefik.enable=true"
- "traefik.http.routers.nextcloud_{{ user }}-router.entrypoints=websecure"
- "traefik.http.routers.nextcloud_{{ user }}-router.rule=Host(`{{ user }}-${NEXTCLOUD_BASE_URL}-${BASE_URL}`)"
- "traefik.http.routers.nextcloud_{{ user }}-router.service=nextcloud_{{ user }}-service"
- "traefik.http.routers.nextcloud_{{ user }}-router.tls=true"
- "traefik.http.services.nextcloud_{{ user }}-service.loadbalancer.server.port=443"
My question is how can i resolve this in order to access to the app ?
thanks for help, i'm a newbie on traefik