diff options
author | Zuul <zuul@review.opendev.org> | 2023-05-15 08:23:28 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-05-15 08:23:28 +0000 |
commit | 428295969836a2a0bad0ae0593ea1a890e155898 (patch) | |
tree | 51fa5593f7a44555dddbf1cbd429fed3a42d5285 /doc/source/configuration/configuring.rst | |
parent | e58b3e8d347366902d4070fd877d98f7fc1b71be (diff) | |
parent | fa9450d5b58866e4a6b928995a8bf18b4bb8f0c7 (diff) | |
download | glance-428295969836a2a0bad0ae0593ea1a890e155898.tar.gz |
Diffstat (limited to 'doc/source/configuration/configuring.rst')
-rw-r--r-- | doc/source/configuration/configuring.rst | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/source/configuration/configuring.rst b/doc/source/configuration/configuring.rst index 80917d423..0c5381561 100644 --- a/doc/source/configuration/configuring.rst +++ b/doc/source/configuration/configuring.rst @@ -1697,19 +1697,21 @@ To enable the health check middleware, it must occur in the beginning of the application pipeline. The health check middleware should be placed in your -``glance-api-paste.ini`` in a section titled ``[filter:healthcheck]``. +``glance-api-paste.ini`` in a section titled ``[app:healthcheck]``. It should look like this:: - [filter:healthcheck] - paste.filter_factory = oslo_middleware:Healthcheck.factory + [app:healthcheck] + paste.app_factory = oslo_middleware:Healthcheck.app_factory backends = disable_by_file disable_by_file_path = /etc/glance/healthcheck_disable -A ready-made application pipeline including this filter is defined e.g. in +A ready-made composite including this application is defined e.g. in the ``glance-api-paste.ini`` file, looking like so:: - [pipeline:glance-api] - pipeline = healthcheck versionnegotiation osprofiler unauthenticated-context rootapp + [composite:glance-api] + paste.composite_factory = glance.api:root_app_factory + /: apiv2app + /healthcheck: healthcheck For more information see `oslo.middleware <https://docs.openstack.org/oslo.middleware/latest/reference/api.html#oslo_middleware.Healthcheck>`_. |