forked from pool/uwsgi
a5f0e22c8a
Web application container server that speaks it's own uwsgi protocol in addition to HTTP. Mainly used in conjunction with Nginx and Python, but supports other servers and languages as well. OBS-URL: https://build.opensuse.org/request/show/133409 OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=1
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
====================
|
|
openSUSE uWSGI Notes
|
|
====================
|
|
|
|
Emperor Mode
|
|
------------
|
|
|
|
The included init script runs uWSGI in Emperor mode. It will monitor the
|
|
/etc/uwsgi/vassals directory for configurations and will automatically load
|
|
and restart uWSGI processes when configuration files are placed there or
|
|
modified. Some example configurations are provided in the directory. To enable
|
|
one, rename it without the .example at the end and edit for your application.
|
|
|
|
For more information on Emperor mode, see
|
|
http://projects.unbit.it/uwsgi/wiki/Emperor
|
|
|
|
|
|
Plugins
|
|
-------
|
|
|
|
This uWSGI package is fully modular. Some plugins, such as the Python plugin,
|
|
are not embedded in the main server binary.
|
|
|
|
This means that your application configurations need to specify the plugins it
|
|
uses. For example, a Python application will need the following option
|
|
specified:
|
|
|
|
plugins = python
|
|
|
|
Alternatively, uWSGI has a autoload option that will load any plugins when it
|
|
encounters options for those plugins in the configuration. To enable that, use
|
|
the following in the configuration:
|
|
|
|
autoload = 1
|
|
|