1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-02 16:58:30 +00:00
Radicale/proxy.md

24 lines
816 B
Markdown
Raw Normal View History

2017-05-24 19:13:47 +02:00
---
layout: page
title: Reverse Proxy
permalink: /proxy/
---
2017-05-29 02:20:41 +02:00
When a reverse proxy is used, the path at which Radicale is available must
be provided via the `X-Script-Name` header. The proxy must remove the location
from the URL path that is forwarded to Radicale.
2017-05-24 19:13:47 +02:00
Example **nginx** configuration:
2017-05-27 12:06:41 +02:00
```nginx
2017-06-01 10:25:31 +02:00
location /radicale/ { # The trailing / is important!
proxy_pass http://localhost:5232/; # The / is important!
proxy_set_header X-Script-Name /radicale;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Authorization;
2017-05-24 19:13:47 +02:00
}
```
Be reminded that Radicale's default configuration enforces limits on the
maximum number of parallel connections, the maximum file size and the rate of
incorrect authentication attempts. Connections are terminated after a timeout.