1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-16 19:00:54 +00:00

Use module directly for WSGI

This commit is contained in:
Unrud 2018-04-21 09:47:28 +02:00
parent a89030558c
commit 88d2b85152

View file

@ -4,8 +4,7 @@ title: WSGI
permalink: /wsgi/ permalink: /wsgi/
--- ---
Radicale is compatible with the WSGI specification. Use `radicale.wsgi` from Radicale is compatible with the WSGI specification.
the [source code]({{ site.baseurl }}/download/) as the WSGI file.
A configuration file can be set with the `RADICALE_CONFIG` environment variable, A configuration file can be set with the `RADICALE_CONFIG` environment variable,
otherwise no configuration file is loaded and the default configuration is used. otherwise no configuration file is loaded and the default configuration is used.
@ -23,7 +22,7 @@ Example **uWSGI** configuration:
http-socket = 127.0.0.1:5232 http-socket = 127.0.0.1:5232
threads = 8 threads = 8
plugin = python3 plugin = python3
wsgi-file = /path/to/radicale.wsgi module = radicale
env = RADICALE_CONFIG=/etc/radicale/config env = RADICALE_CONFIG=/etc/radicale/config
``` ```