Skip to content

Commit

Permalink
chore: update proxy and tunnel help description (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko authored Feb 23, 2023
1 parent 6edb990 commit bff314a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/cloudx/proxy/cmd_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Pass the project's slug as a flag to the proxy command:
$ %[1]s proxy --project <your-project-slug> ...
$ ORY_PROJECT_SLUG=<your-project-slug> %[1]s proxy ...
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,
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
of the configured `+"`"+`application-url`+"`"+`.
### Developing Locally
When developing locally we recommend to use the `+"`"+`--dev`+"`"+` flag, which uses a lax security setting:
Expand Down
4 changes: 4 additions & 0 deletions cmd/cloudx/proxy/cmd_tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Pass the project's slug as a flag to the tunnel command:
$ %[1]s tunnel --project <your-project-slug> ...
$ ORY_PROJECT_SLUG=<your-project-slug> %[1]s tunnel ...
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,
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
of the configured `+"`"+`application-url`+"`"+`.
### Developing Locally
When developing locally we recommend to use the `+"`"+`--dev`+"`"+` flag, which uses a lax security setting:
Expand Down

0 comments on commit bff314a

Please sign in to comment.