]> git.apps.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)
committerNick Erdmann <n@nirf.de>
Tue, 22 Aug 2017 16:14:42 +0000 (16:14 +0000)
commit6d285fff0df598d66f46d38bf0a6a2cc9c0dc62f
tree64eab39d7bd50bdf76a319a503580eb3efd533a7
parente5947ee88a1265a97031c0452490a39ffbf18e86
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>
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