https://prefect.io logo
k

Kol

08/17/2023, 4:28 PM
Hi All, im trying to serve the prefect ui behind a reverse proxy (traefik) running in k8s, at a subpath: dev.get-clarity.io/prefect/ however i dont seem to be able to configure the ui-settings, which i see when inspecting the webpage that requests to grab ui-settings are not being forwarded to the correct prefect service. its going to
<http://dev.get-clarity.io/ui-settings|dev.get-clarity.io/ui-settings>
rather than
<http://dev.get-clarity.io/prefect/ui-settings|dev.get-clarity.io/prefect/ui-settings>
can anyone offer advice on configuration of prefect server to enable access to the ui at a subpath?
j

jawnsy

08/17/2023, 4:33 PM
k

Kol

08/17/2023, 4:37 PM
@jawnsy thanks for your response, so yes i've definitely set this env var:
Copy code
Kols-MBP:traefik kolratner$ kubectl exec -it -n prefect prefect-server-5494598b6f-vd84k -- prefect config view
PREFECT_PROFILE='default'
PREFECT_API_DATABASE_CONNECTION_URL='********' (from env)
PREFECT_API_URL='<https://dev.get-clarity.io/prefect/api>' (from env)
PREFECT_DEBUG_MODE='False' (from env)
PREFECT_UI_API_URL='<https://dev.get-clarity.io/prefect/api>' (from env)
2 Views