forked from pool/uwsgi
eb3bc3b3a5
* Bugfixes * Fixed a corner case bug when response offloading is enabled, but no request plugin is loaded * Fixed harakiri routing when multiple rules are in place (return NEXT instead of CONTINUE) * Fixed curl crashing master on slow dns responses (Łukasz Mierzwa) * Removed PTRACE check in uwsgi.h (it is no more needed since uWSGI 1.0) * Fixed -print-sym * Added a newline in -cflags * Improved python3 detection and compilation * Fixed Coro::AnyEvent loop engine (John Berthels) * Rack api functions are now static * Better fastcgi handling of big uploads * Improved GCC usage on Darwin for Python non-apple builds * Fixed XCLIENT usage in rawrouter * Use the clang preprocessor instead of hardcoded 'cpp' when CC=clang is used * Set 16bit options to 65535 when higher values are requested * Fixed virtualhosting (it is now compatible with 1.4 configurations) * New features * https://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.13.html * PyPy performance and features improvents * Chunked input api * Toward better third-party plugins management: the -dot-h option * setmethod, seturi and setpathinfo routing action * UWSGI_INCLUDES * Improved set_user_harakiri api function * -add-cache-item [cache ]KEY=VALUE * the router_xmldir plugin OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=13
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
====================
|
|
openSUSE uWSGI Notes
|
|
====================
|
|
|
|
Upgrading from 1.2.6
|
|
--------------------
|
|
|
|
The init script and the sysconfig file /etc/sysconfig/uwsgi are now deprecated
|
|
in favor of a systemd service and a default configuration file
|
|
/etc/uwsgi/uwsgi.ini.
|
|
|
|
Emperor Mode
|
|
------------
|
|
|
|
The included uwsgi service runs uWSGI in Emperor mode by default. 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
|
|
https://uwsgi-docs.readthedocs.org/en/latest/Emperor.html
|
|
|
|
|
|
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
|