2017-05-24 19:13:47 +02:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: Reverse Proxy
|
|
|
|
permalink: /proxy/
|
|
|
|
---
|
|
|
|
|
|
|
|
When a everse proxy is used, the path at which Radicale is available must
|
2017-05-27 12:06:41 +02:00
|
|
|
be provided via the `X-Script-Name` header.
|
2017-05-24 19:13:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
Example **nginx** configuration:
|
2017-05-27 12:06:41 +02:00
|
|
|
```nginx
|
2017-05-24 19:13:47 +02:00
|
|
|
location /sub/folder/radicale {
|
|
|
|
proxy_pass localhost:5232/; # The / is important!
|
2017-05-28 03:30:18 +02:00
|
|
|
proxy_set_header X-Script-Name /sub/folder/radicale;
|
2017-05-24 19:13:47 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2017-05-25 19:58:22 +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.
|