2017-05-24 19:13:47 +02:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: WSGI
|
|
|
|
permalink: /wsgi/
|
|
|
|
---
|
|
|
|
|
2017-06-04 15:39:49 +02:00
|
|
|
Radicale is compatible with the WSGI specification. Use `radicale.wsgi` from
|
|
|
|
the source code as the WSGI file.
|
2017-05-25 19:58:22 +02:00
|
|
|
|
2017-06-01 10:40:42 +02:00
|
|
|
A configuration file can be set with the `RADICALE_CONFIG` environment variable,
|
|
|
|
otherwise the default configuration is used.
|
|
|
|
|
|
|
|
**Important:** The `None` authentication type disables all rights checking.
|
|
|
|
Don't use it with `REMOTE_USER`. The development version of Radicale has
|
|
|
|
the `remote_user` module for this use-case.
|
|
|
|
|
2017-05-25 19:58:22 +02:00
|
|
|
Be reminded that Radicale's default configuration enforces limits on the
|
2017-06-01 10:40:42 +02:00
|
|
|
maximum upload file size.
|
2017-06-07 21:39:54 +02:00
|
|
|
|
|
|
|
## Manage user accounts with the WSGI server
|
|
|
|
|
|
|
|
(This feature is only available in the development version!)
|
|
|
|
|
|
|
|
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.
|