From 3fd3bf5192e8a4ead603ffa81d940a9b388a1f35 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Thu, 15 Jun 2023 10:57:44 +0200 Subject: [PATCH] Document removal of X-Script-Name when serving Radicale at root (/) See https://github.com/Kozea/Radicale/issues/1210 If X-Script-Name header is still set to `/` we get warnings in the log --- DOCUMENTATION.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 663ffef1..ab0b2776 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -328,9 +328,13 @@ start the **Radicale** service. ### Reverse Proxy -When a reverse proxy is used, the path at which Radicale is available must -be provided via the `X-Script-Name` header. The proxy must remove the location -from the URL path that is forwarded to Radicale. +When a reverse proxy is used, and Radicale should be made available at a path +below the root (such as `/radicale/`), then this path must be provided via +the `X-Script-Name` header (without a trailing `/`). The proxy must remove +the location from the URL path that is forwarded to Radicale. If Radicale +should be made available at the root of the web server (in the nginx case +using `location /`), then the setting of the `X-Script-Name` header should be +removed from the example below. Example **nginx** configuration: