Skip to content

Commit bff314a

Browse files
authored
chore: update proxy and tunnel help description (#301)
1 parent 6edb990 commit bff314a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

cmd/cloudx/proxy/cmd_proxy.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Pass the project's slug as a flag to the proxy command:
5454
$ %[1]s proxy --project <your-project-slug> ...
5555
$ ORY_PROJECT_SLUG=<your-project-slug> %[1]s proxy ...
5656
57+
When using the `+"`"+`ORY_SDK_URL`+"`"+` or `+"`"+`ORY_KRATOS_URL`+"`"+` to point to a custom domain on the project instead of the `+"`"+`ORY_PROJECT_SLUG`+"`"+` environment variable,
58+
take care that the project has not set the custom UI base URL on this domain. This will cause the browser to always redirect to the custom UI base URL instead
59+
of the configured `+"`"+`application-url`+"`"+`.
60+
5761
### Developing Locally
5862
5963
When developing locally we recommend to use the `+"`"+`--dev`+"`"+` flag, which uses a lax security setting:

cmd/cloudx/proxy/cmd_tunnel.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ Pass the project's slug as a flag to the tunnel command:
4949
$ %[1]s tunnel --project <your-project-slug> ...
5050
$ ORY_PROJECT_SLUG=<your-project-slug> %[1]s tunnel ...
5151
52+
When using the `+"`"+`ORY_SDK_URL`+"`"+` or `+"`"+`ORY_KRATOS_URL`+"`"+` to point to a custom domain on the project instead of the `+"`"+`ORY_PROJECT_SLUG`+"`"+` environment variable,
53+
take care that the project has not set the custom UI base URL on this domain. This will cause the browser to always redirect to the custom UI base URL instead
54+
of the configured `+"`"+`application-url`+"`"+`.
55+
5256
### Developing Locally
5357
5458
When developing locally we recommend to use the `+"`"+`--dev`+"`"+` flag, which uses a lax security setting:

0 commit comments

Comments
 (0)