weaveworks / weave-gitops

Weave GitOps provides insights into your application deployments, and makes continuous delivery with GitOps easier to adopt and scale across your teams.
https://docs.gitops.weave.works/
Apache License 2.0
905 stars 151 forks source link

Add support for reverse proxy subpaths #4179

Open davide-malagoli-ict-group-it opened 8 months ago

davide-malagoli-ict-group-it commented 8 months ago

Problem I wanted to publish the dashboard as a subpath of a domain using a reverse proxy, but I wasn't able to make it work because of <base href="/" />

Solution Many application nowadays support the use of an environment variable that changes the base href of the entire application, assets included

Additional context Another possibility would be using relative URLs, this way the addition of the subpath would become seamless for the app

bigkevmcd commented 8 months ago

@davide-malagoli-ict-group-it Does https://docs.gitops.weave.works/docs/guides/run-ui-subpath/ help at all?