Provide specific path of the 'local_settings' file
The path of the 'local_settings' file is not right in "http://docs.openstack.org/kilo/config-reference/content/configure-dashboard.html". The path of the 'local_settings' file is different under different Linux versions. This patch give the specific path of the "local_settings".o Change-Id: I1dcea4e58d20f7c8cc2a1c397d75ac3e6a667486 Closes-bug: #1502609
This commit is contained in:
parent
d2f306e218
commit
6df94a272c
@ -11,9 +11,11 @@
|
||||
<procedure xml:id="dashboard-config-http">
|
||||
<step>
|
||||
<para>Specify the host for your OpenStack Identity
|
||||
Service endpoint in the
|
||||
<filename>/etc/openstack-dashboard/local_settings.py</filename>
|
||||
file with the <literal>OPENSTACK_HOST</literal>
|
||||
Service endpoint in the <filename>local_settings</filename> file(on Fedora/RHEL/
|
||||
CentOS: <filename>/etc/openstack-dashboard/local_settings</filename>,
|
||||
on Ubuntu and Debian: <filename>/etc/openstack-dashboard/local_settings.py</filename>,
|
||||
and on openSUSE: <filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>)
|
||||
with the <literal>OPENSTACK_HOST</literal>
|
||||
setting.</para>
|
||||
<para>The following example shows this setting:</para>
|
||||
<programlisting language="python"><?db-font-size 65%?><xi:include parse="text" href="samples/local_settings.py"/></programlisting>
|
||||
|
@ -14,9 +14,11 @@
|
||||
<literal>http://openstack.example.com</literal>
|
||||
domain. Use a domain that fits your current setup.</para>
|
||||
<step>
|
||||
<para>In the
|
||||
<filename>/etc/openstack-dashboard/local_settings.py</filename>
|
||||
file, update the following options:</para>
|
||||
<para>In the <filename>local_settings</filename> file(on Fedora/RHEL/
|
||||
CentOS: <filename>/etc/openstack-dashboard/local_settings</filename>,
|
||||
on Ubuntu and Debian: <filename>/etc/openstack-dashboard/local_settings.py</filename>,
|
||||
and on openSUSE: <filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>),
|
||||
update the following options:</para>
|
||||
<programlisting language="python">USE_SSL = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user