From 3f24ab4555e78ec58e2a8fb779d3a177c00066df Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Wed, 18 Jun 2025 18:59:14 +0200 Subject: [PATCH 1/2] fix broken example --- contrib/nginx/radicale.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/nginx/radicale.conf b/contrib/nginx/radicale.conf index acf91a18..990ebe4d 100644 --- a/contrib/nginx/radicale.conf +++ b/contrib/nginx/radicale.conf @@ -21,7 +21,6 @@ location /radicale/ { ## Base URI: / #location / { # proxy_pass http://localhost:5232/; -# proxy_set_header X-Script-Name /radicale; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Forwarded-Host $host; # proxy_set_header X-Forwarded-Port $server_port; From 348b123b435458783a68ee714aa3cd2c224c091f Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 19 Jun 2025 07:33:08 +0200 Subject: [PATCH 2/2] enhancements related to https://github.com/Kozea/Radicale/issues/1807 --- DOCUMENTATION.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 21ce0733..32997155 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -382,9 +382,9 @@ 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: +Example **nginx** configuration extension: -See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/nginx/ +See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/nginx/ ```nginx location /radicale/ { # The trailing / is important! @@ -399,20 +399,21 @@ location /radicale/ { # The trailing / is important! } ``` -Example **Caddy** configuration: +Example **Caddy** configuration extension: + +See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/caddy/ ``` handle_path /radicale/* { uri strip_prefix /radicale reverse_proxy localhost:5232 { - header_up X-Script-Name /radicale } } ``` -Example **Apache** configuration: +Example **Apache** configuration extension: -See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/apache/ +See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/apache/ ```apache RewriteEngine On