Project

General

Profile

Actions

Cleanup #50655

closed

mgr/dashboard: dashboard not working with a URL prefix

Added by Ernesto Puerta almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General
Target version:
-
% Done:

0%

Tags:
Backport:
pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

As per this comment, it seems that https://github.com/ceph/ceph/pull/39372 broke the support for reverse proxy with a URL prefix.


Related issues 3 (0 open3 closed)

Related to Dashboard - Bug #50684: mgr/dashboard: fix base-href: revert it to previous approachResolvedAvan Thakkar

Actions
Follows Dashboard - Cleanup #49220: mgr/dashboard: avoid using document.write()ResolvedAvan Thakkar

Actions
Copied to Dashboard - Backport #51038: pacific: mgr/dashboard: dashboard not working with a URL prefixResolvedAvan ThakkarActions
Actions #1

Updated by Ernesto Puerta almost 3 years ago

  • Follows Cleanup #49220: mgr/dashboard: avoid using document.write() added
Actions #2

Updated by Ernesto Puerta almost 3 years ago

  • Assignee changed from Nizamudeen A to Avan Thakkar
Actions #3

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from New to Triaged
Actions #4

Updated by Avan Thakkar almost 3 years ago

I couldn't reproduce this issue with haproxy+dashboard. I see that a url_prefix issue was reported a while ago https://tracker.ceph.com/issues/48616, not sure if this is the case here.

I can reproduce it now, got the steps right and have provided the fix too.

Actions #5

Updated by Avan Thakkar almost 3 years ago

  • Subject changed from mgr/dashboard: dashboard not working behind reverse proxy with a URL prefix to mgr/dashboard: dashboard not working with a URL prefix
  • Status changed from Triaged to In Progress
  • Pull request ID set to 41184
Actions #6

Updated by Avan Thakkar almost 3 years ago

  • Related to Bug #50684: mgr/dashboard: fix base-href: revert it to previous approach added
Actions #7

Updated by Loïc Dachary almost 3 years ago

  • Target version deleted (v16.2.2)
Actions #8

Updated by Avan Thakkar almost 3 years ago

  • Priority changed from High to Normal
Actions #9

Updated by Ernesto Puerta almost 3 years ago

  • Tracker changed from Bug to Cleanup
  • Status changed from In Progress to Pending Backport
  • Backport changed from pacific,octopus,nautilus to pacific

Let's fix this only in Pacific, as it's mainly a clean-up/improvement.

Actions #10

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51038: pacific: mgr/dashboard: dashboard not working with a URL prefix added
Actions #11

Updated by Avan Thakkar almost 3 years ago

  • Backport changed from pacific to nautilus, octopus, pacific
Actions #12

Updated by Avan Thakkar almost 3 years ago

  • Backport changed from nautilus, octopus, pacific to pacific
Actions #13

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF