Merge "Provide specific path of the 'local_settings' file"

This commit is contained in:
Jenkins 2015-10-04 16:57:12 +00:00 committed by Gerrit Code Review
commit bfc22430e3
2 changed files with 10 additions and 6 deletions

View File

@ -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>

View File

@ -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