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:
parent
a89030558c
commit
88d2b85152
1 changed files with 2 additions and 3 deletions
5
wsgi.md
5
wsgi.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue