]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/dashboard: add url_prefix
authorNick Erdmann <n@nirf.de>
Mon, 21 Aug 2017 17:21:10 +0000 (17:21 +0000)
committerShinobu Kinjo <shinobu@redhat.com>
Sat, 4 Nov 2017 23:15:51 +0000 (08:15 +0900)
commit1f47cc0b53f7e20e156f74b28502c7705ddb4700
treeb430e5d37f62bb2f7d3c29939ea395d10b4aaa65
parenta5899a57e4f077f4061fc2aa33a61377de7ac025
pybind/mgr/dashboard: add url_prefix

This adds a configuration variable url_prefix to the dashboard that
that is prepended to all URLs so you can access the dashboard at
http://$IP:$PORT/$PREFIX/. This is necessary if you wish to use a
reverse http proxy that forwards to the dashboard under a sub-path.

Fixes: http://tracker.ceph.com/issues/20568
Signed-off-by: Nick Erdmann <n@nirf.de>
(cherry picked from commit 6d285fff0df598d66f46d38bf0a6a2cc9c0dc62f)
12 files changed:
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/base.html
src/pybind/mgr/dashboard/clients.html
src/pybind/mgr/dashboard/filesystem.html
src/pybind/mgr/dashboard/health.html
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/osd_perf.html
src/pybind/mgr/dashboard/osds.html
src/pybind/mgr/dashboard/rbd_iscsi.html
src/pybind/mgr/dashboard/rbd_mirroring.html
src/pybind/mgr/dashboard/rbd_pool.html
src/pybind/mgr/dashboard/servers.html