This message was deleted.
# general
m
This message was deleted.
h
Copy code
--dev --project some-words-asdasdas
Get the project slug from the UI 👍
s
The proxy does not really work (or make sense) in self hosted. It is just a way to expose the API on a different domain, but you can directly deploy it there yourself
w
Thanks to both of you. What I’m trying to understand is how to do local frontend development against a self-hosted instance or ORY Kratos that is deployed and exposed at let’s say on https://app.example.com/ My initial understanding was that we could use the ORY proxy to achieve this, so it would rewrite the configured ui_url URL to match http://localhost:4200 using something like docker run --rm -it -p 4000:4000 --entrypoint /bin/sh oryd/ory:latest -c “ory proxy --dev --debug --project some-words-asdasdas http://host.docker.internal:4200 https://app.example.com
s
As we do specific authentication against Ory Network APIs, it will not work in your self-hosted case. You can take a look at the code in the CLI and fork it.