Skip to content

Fix: redirect /ui to /ui/ for galaxy UI (fixes #272) - #289

Open
riya-raut07 wants to merge 1 commit into
ansible:mainfrom
riya-raut07:my-fix
Open

riya-raut07 wants to merge 1 commit into
ansible:mainfrom
riya-raut07:my-fix

Conversation

@riya-raut07

Copy link
Copy Markdown
SUMMARY

Fixes #272

When users open the Galaxy server URL, they are redirected to /ui, which returns not found. Nginx only had a location /ui/ block (with trailing slash), so requests to /ui did not match.

This adds a redirect from /ui to /ui/ so the Galaxy UI loads correctly.

ADDITIONAL INFORMATION

Problem:

  • Visiting https://server redirects to https://server/ui
  • /ui returns not found; only /ui/ was configured in nginx

Fix:

  • Added location = /ui with return 301 to /ui/ in galaxy-web.configmap.yaml.j2

Test plan:

  • Deploy operator with this change
  • Verify https://server/ui redirects to https://server/ui/
  • Confirm Galaxy UI loads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI is not reachable

1 participant