nova/releasenotes/notes/add-nova-wsgi-module-3cc250a78fef7365.yaml
Stephen Finucane 489297d742 Add new nova.wsgi module
This allows deployment tooling to easily switch from passing a binary
path to passing a Python module path. We'll use it shortly.

Change-Id: I37393656a70d7c22dc18e7bd65f3dc515532c237
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-12-06 11:06:18 +00:00

23 lines
572 B
YAML

---
features:
- |
A new module, ``nova.wsgi``, has been added as a place to gather WSGI
``application`` objects. This is intended to ease deployment by providing
a consistent location for these objects. For example, if using uWSGI then
instead of:
.. code-block:: ini
[uwsgi]
wsgi-file = /bin/nova-api-wsgi
You can now use:
.. code-block:: ini
[uwsgi]
module = nova.wsgi.osapi_compute:application
This also simplifies deployment with other WSGI servers that expect module
paths such as gunicorn.