mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Merge pull request #1320 from jummo/master
Add example configuration for Caddy web server
This commit is contained in:
commit
2f97fc5b88
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue