Merge "Corrections to WEBROOT docs."
This commit is contained in:
commit
a21329d98a
@ -1027,17 +1027,20 @@ https://<your server>/dashboard, you would set this to ``"/dashboard/"``.
|
||||
|
||||
Additionally, setting the ``"$webroot"`` SCSS variable is required. You
|
||||
can change this directly in
|
||||
``"openstack_dasbboard/static/dashboard/scss/_variables.scss"`` or in the
|
||||
``"openstack_dashboard/static/dashboard/scss/_variables.scss"`` or in the
|
||||
``"_variables.scss"`` file in your custom theme. For more information on
|
||||
custom themes, see: ``"CUSTOM_THEME_PATH"``.
|
||||
|
||||
Make sure you run ``python manage.py collectstatic`` and
|
||||
``python manage.py compress`` after you change the ``_variables.scss`` file.
|
||||
|
||||
For your convenience, a custom theme for only setting the web root has been
|
||||
provided see: ``"/horizon/openstack_dashboard/static/themes/webroot"``
|
||||
|
||||
.. note::
|
||||
|
||||
Additional settings may be required in the config files of your webserver
|
||||
of choice. For example to make ``"/dashboard/"`` the web root in apache,
|
||||
of choice. For example to make ``"/dashboard/"`` the web root in Apache,
|
||||
the ``"sites-available/horizon.conf"`` requires a couple of additional
|
||||
aliases set::
|
||||
|
||||
@ -1045,6 +1048,10 @@ provided see: ``"/horizon/openstack_dashboard/static/themes/webroot"``
|
||||
|
||||
Alias /dashboard/media %HORIZON_DIR%/openstack_dashboard/static
|
||||
|
||||
Apache also requires changing your WSGIScriptAlias to reflect the desired
|
||||
path. For example, you'd replace ``/`` with ``/dashboard`` for the
|
||||
alias.
|
||||
|
||||
|
||||
``DISALLOW_IFRAME_EMBED``
|
||||
-------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user