Skip to content

Commit

Permalink
Add UI subpath info for EE (#4156)
Browse files Browse the repository at this point in the history
* Add ui subpath info for EE

* Add ui subpath info for EE - 2

* Move ui path file to right location

* Add ui subpath info for EE to versioned docs

* Move run ui under a subpath instructions under guides

* Remove open-source/getting-started/run-ui-subpath from sidebars def

* Remove open-source/getting-started/run-ui-subpath from sidebars def - versioned docs

* Fix formatting error

* Update Running the UI on a Subpath page title
  • Loading branch information
AlinaGoaga committed Dec 6, 2023
1 parent 76ffb12 commit 28ab281
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 171 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "Optional: Running the UI on a Subpath"
title: "Running the UI on a Subpath"
---

## Running the UI on a subpath

By default, the UI is served on the root path `/`. It is possible to run the UI on a subpath, for example `/weave-gitops`.
This is useful if you want to run weave-gitops alongside other applications on the same domain.
This is useful if you want to run weave-gitops or weave-gitops-enterprise alongside other applications on the same domain.

To run the UI on a subpath, you need to set the `--route-prefix` flag on the weave-gitops server.
For example, if you want to run the UI on `/weave-gitops`, you can set the flag to `--route-prefix=/weave-gitops`.
Expand Down Expand Up @@ -44,4 +44,4 @@ spec:
pathType: Prefix
```

See the [Helm chart reference](../../references/helm-reference.md) for a list of all supported ingress options.
See the [Helm chart reference](../references/helm-reference.md) for a list of all supported ingress options.

0 comments on commit 28ab281

Please sign in to comment.