Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sailing:radicale [2024/01/11 14:44] – willy | sailing:radicale [2024/02/22 09:47] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Radicale ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | Add user: | ||
- | <code bash> | ||
- | > useradd -d / | ||
- | </ | ||
- | |||
- | Create data folder: | ||
- | <code bash> | ||
- | > mkdir / | ||
- | > chown radicale: | ||
- | </ | ||
- | |||
- | enable pip (see deemon) | ||
- | |||
- | run as user radicale: | ||
- | <code bash> | ||
- | > pip install --upgrade radicale | ||
- | </ | ||
- | |||
- | Create the config file **~/ | ||
- | <file txt config> | ||
- | [server] | ||
- | # Bind all addresses | ||
- | hosts = 127.0.0.1: | ||
- | |||
- | [auth] | ||
- | type = http_x_remote_user | ||
- | # | ||
- | # | ||
- | |||
- | [storage] | ||
- | filesystem_folder = / | ||
- | </ | ||
- | |||
- | then start it: | ||
- | <code bash> | ||
- | > radicale | ||
- | </ | ||
- | |||
- | Setup nginx reverse proxy: | ||
- | <file txt radicale.conf> | ||
- | location /radicale/ { # The trailing / is important! | ||
- | proxy_pass | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | proxy_set_header | ||
- | proxy_pass_header Authorization; | ||
- | proxy_set_header | ||
- | # to prevent timeouts importing huge calendars or contacts lists | ||
- | proxy_send_timeout 600; | ||
- | proxy_read_timeout 600; | ||
- | |||
- | } | ||
- | </ | ||
- | |||
- | and restart nginx. | ||
- | |||
- | Now go with browser to http:// | ||
- | |||