1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-23 17:48:30 +00:00
Radicale/wsgi.md

1,001 B

layout title permalink
page WSGI /wsgi/

Radicale is compatible with the WSGI specification. Use radicale.wsgi from the [source code]({{ site.baseurl }}/download/) as the WSGI file.

A configuration file can be set with the RADICALE_CONFIG environment variable, otherwise no configuration file is loaded and the default configuration is used.

Be reminded that Radicale's default configuration enforces limits on the maximum upload file size.

Security: The None authentication type disables all rights checking. Don't use it with REMOTE_USER. Use remote_user instead.

Example uWSGI configuration:

[uwsgi]
http-socket = 127.0.0.1:5232
threads = 8
plugin = python3
wsgi-file = /path/to/radicale.wsgi
env = RADICALE_CONFIG=/etc/radicale/config

Manage user accounts with the WSGI server

Set the configuration option type in the auth section to remote_user. Radicale uses the user name provided by the WSGI server and disables authentication over HTTP.