15.2.10 Dashboard incompatible with Reverse Proxy?
Hello everyone, we have updated one of our clusters from 15.2.9 to 15.2.10 and cannot access the dashboard any more. The dashboard is behind an nginx reverse proxy, which proxy_passes https://some.admin.hostname/ceph (note the /ceph path!) to the actual mgr daemon in the (not so) public network of the ceph cluster. In 15.2.9, there would be <base href="https://some.admin.hostname/ceph"> set via JS. This has apparently changed in 15.2.10 -- see PR https://github.com/ceph/ceph/pull/39372 -- leaving a plain <base href="/"> in the HTML header. Browsers (tested with Firefox and Chromium on Debian Buster) now try to load further JS for dashboard functionality from https://some.admin.hostname/ *without* the /ceph path, which obviously fails. Is there any way to configure the path in the <base href=""> tag, e.g. some "ceph dashboard" cli option? The ceph cluster runs non-containerized on Ubuntu 20.04, using the packages from download.ceph.com, and was deployed using ceph-ansible. Best, Christoph -- Dr. Christoph Brüning Universität Würzburg HPC & DataManagement @ ct.qmat & RZUW Am Hubland D-97074 Würzburg Tel.: +49 931 31-80499
participants (1)
-
Christoph Brüning