-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Actions before raising this issue
- I searched the existing issues and did not find anything similar.
- I read/searched the docs
Is your feature request related to a problem? Please describe.
I would like to make the nuclio ui available when using cvat.
Describe the solution you'd like
Making the nuclio platform ui available on the url myurl/nuclio/ endpoint when hosting cvat with a tls cert
Describe alternatives you've considered
I have looked at the documentation for both apis and have set rules to deconflict them, I have also tested the following labels on docker compose.
With the below settings, I can access the cvat ui and nuclio ui via localhost:8080 and localhost:8080/nuclio/ respectively. The trouble is when i use a ssl/tls cert the redirect does not happen. I am quite new to traefik and I wonder if i made a mistake somewhere?
labels:
- traefik.enable=true
- traefik.http.routers.nuclio.service=nuclio
- traefik.http.services.nuclio.loadbalancer.server.port=8070
- traefik.http.routers.nuclio.rule=Host(`${CVAT_HOST:-localhost}`) && (
PathPrefix(`/api/namespaces`) ||
PathPrefix(`/api/frontend_spec`) ||
PathPrefix(`/api/versions`) ||
(PathPrefix(`/api/projects`) && HeadersRegexp(`x-nuclio-project-namespace`, ".+")) ||
PathPrefix(`/api/functions`) ||
PathPrefix(`/api/function_events`) ||
PathPrefix(`/api/function_templates`) ||
PathPrefix(`/assets/i18n`) ||
PathPrefix(`/dashboard-config.json`) ||
PathPrefix(`/nuclio/`)
)
When i access via unsecured http i add the following router:
- traefik.http.routers.nuclio.entrypoints=web
When accessing via the secured route i add the websecure. however this does not seem to redirect me.
- traefik.http.routers.nuclio.entrypoints=websecure
- traefik.http.routers.dashboard.tls=true
Additional context
No response