neutron/releasenotes/notes/add-neutron-wsgi-module-68e2418a0f9124e5.yaml
Stephen Finucane adb39e2d1c Add new neutron.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: I5350dff6be0daf1d4e5e5dfa4aab745b765436f7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-06-12 19:46:25 +00:00

23 lines
566 B
YAML

---
features:
- |
A new module, ``neutron.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/neutron-api
You can now use:
.. code-block:: ini
[uwsgi]
module = neutron.wsgi.api:application
This also simplifies deployment with other WSGI servers that expect module
paths such as gunicorn.