Is a global HTTP to HTTPS redirect and Catch-All Redirect in Traefik v2 possible? I have tried docker and file provider.
# Global HTTP to HTTPS redirect
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.web.http.redirections.entrypoint.permanent=true"
# Catch-All redirect for no matched requests
#- "traefik.http.routers.catchall.entrypoints=websecure"
#- "traefik.http.routers.catchall.rule=HostRegexp(`{host:.+}`)"
#- "traefik.http.routers.catchall.service=noop@internal"
#- "traefik.http.routers.catchall.priority=1"
#- "traefik.http.routers.catchall.middlewares=catchall"
#- "traefik.http.middlewares.catchall.redirectregex.regex=.+"
#- "traefik.http.middlewares.catchall.redirectregex.replacement=https://google.com"
Thanks!