From 5814793806ead0f49abe6cabf69eacfdf17165bb Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Tue, 24 Sep 2019 12:51:17 -0700 Subject: [PATCH] Set enable_host_header in documentation This is better practice and we should recommend this value set in the install guides. Host headers makes use of request host_url provided by Flask, instead of relying on the hard-coded url in the configuration. Change-Id: I9fbb71acd063d2034190e773f69f7a80275b2f3c --- doc/source/install/install-obs.rst | 2 +- doc/source/install/install-rdo.rst | 2 +- doc/source/install/install-ubuntu.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/install/install-obs.rst b/doc/source/install/install-obs.rst index bdfd906fd..0f9fad35f 100644 --- a/doc/source/install/install-obs.rst +++ b/doc/source/install/install-obs.rst @@ -86,9 +86,9 @@ Install and configure components [service:api] listen = 0.0.0.0:9001 auth_strategy = keystone - api_base_uri = http://controller:9001/ enable_api_v2 = True enable_api_admin = True + enable_host_header = True enabled_extensions_admin = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: diff --git a/doc/source/install/install-rdo.rst b/doc/source/install/install-rdo.rst index a843c81ee..c5dbf9927 100644 --- a/doc/source/install/install-rdo.rst +++ b/doc/source/install/install-rdo.rst @@ -86,9 +86,9 @@ Install and configure components [service:api] listen = 0.0.0.0:9001 auth_strategy = keystone - api_base_uri = http://controller:9001/ enable_api_v2 = True enable_api_admin = True + enable_host_header = True enabled_extensions_admin = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: diff --git a/doc/source/install/install-ubuntu.rst b/doc/source/install/install-ubuntu.rst index b35b52c0b..4c4ebf7e5 100644 --- a/doc/source/install/install-ubuntu.rst +++ b/doc/source/install/install-ubuntu.rst @@ -84,9 +84,9 @@ Install and configure components [service:api] listen = 0.0.0.0:9001 auth_strategy = keystone - api_base_uri = http://controller:9001/ enable_api_v2 = True enable_api_admin = True + enable_host_header = True enabled_extensions_admin = quotas, reports * In the ``[keystone_authtoken]`` section, configure the following options: