| 1 |
--- |
| 2 |
features: |
| 3 |
- | |
| 4 |
A new module, ``masakari.wsgi``, has been added as a place to gather WSGI |
| 5 |
``application`` objects. This is intended to ease deployment by providing |
| 6 |
a consistent location for these objects. For example, if using uWSGI then |
| 7 |
instead of: |
| 8 |
|
| 9 |
.. code-block:: ini |
| 10 |
|
| 11 |
[uwsgi] |
| 12 |
wsgi-file = /bin/masakari-wsgi |
| 13 |
|
| 14 |
You can now use: |
| 15 |
|
| 16 |
.. code-block:: ini |
| 17 |
|
| 18 |
[uwsgi] |
| 19 |
module = masakari.wsgi.api:application |
| 20 |
|
| 21 |
This also simplifies deployment with other WSGI servers that expect module |
| 22 |
paths such as gunicorn. |