Merge pull request #1320 from jummo/master
Add example configuration for Caddy web server
This commit is contained in:
@@ -348,6 +348,20 @@ location /radicale/ { # The trailing / is important!
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example **Caddy** configuration with basicauth from Caddy:
|
||||||
|
|
||||||
|
```Caddy
|
||||||
|
handle_path /radicale* {
|
||||||
|
basicauth {
|
||||||
|
user hash
|
||||||
|
}
|
||||||
|
reverse_proxy localhost:5232 {
|
||||||
|
header_up +X-Script-Name "/radicale"
|
||||||
|
header_up +X-remote-user "{http.auth.user.id}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Example **Apache** configuration:
|
Example **Apache** configuration:
|
||||||
|
|
||||||
```apache
|
```apache
|
||||||
|
|||||||
Reference in New Issue
Block a user