1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-05 17:08:29 +00:00
Radicale/wsgi.md

33 lines
893 B
Markdown
Raw Normal View History

2017-05-24 19:13:47 +02:00
---
layout: page
title: WSGI
permalink: /wsgi/
---
2018-04-21 09:47:28 +02:00
Radicale is compatible with the WSGI specification.
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.
2017-06-25 11:02:36 +02:00
**Security:** The `None` authentication type disables all rights checking.
Don't use it with `REMOTE_USER`. Use `remote_user` instead.
2017-09-19 20:05:47 +02:00
Example **uWSGI** configuration:
```ini
[uwsgi]
http-socket = 127.0.0.1:5232
threads = 8
2017-09-19 20:05:47 +02:00
plugin = python3
2018-04-21 09:47:28 +02:00
module = radicale
2017-09-19 20:05:47 +02:00
env = RADICALE_CONFIG=/etc/radicale/config
```
2017-06-25 11:02:36 +02:00
## 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.