Selaa lähdekoodia

Add example configuration for Caddy web server

Patrick 2 vuotta sitten
vanhempi
sitoutus
701a9794bc
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 14 0
      DOCUMENTATION.md

+ 14 - 0
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