weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Add support for reverse proxy subpaths

Open davide-malagoli-ict-group-it opened this issue 2 years ago • 1 comments

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

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

bigkevmcd avatar Dec 27 '23 07:12 bigkevmcd