From 701a9794bc5cf4a6e864aae31b98ba88440517d3 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 5 Aug 2023 18:35:05 +0200 Subject: [PATCH] Add example configuration for Caddy web server --- DOCUMENTATION.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 663ffef1..a9eb038e 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -344,6 +344,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: ```apache