From f9abcd4e559c8bd9e2689646233538e136fd06b1 Mon Sep 17 00:00:00 2001 From: Github Actions <> Date: Sun, 17 Nov 2024 06:13:02 +0000 Subject: [PATCH] Generate documentation --- master.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/master.html b/master.html index 8e6a4365..54f37383 100644 --- a/master.html +++ b/master.html @@ -556,10 +556,14 @@ available at the root of the web server (in the nginx case using X-Script-Name header should be removed from the example below.

Example nginx configuration:

+

See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/nginx/

location /radicale/ { # The trailing / is important!
     proxy_pass        http://localhost:5232/; # The / is important!
     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;
+    proxy_set_header  X-Forwarded-Proto $scheme;
     proxy_set_header  Host $http_host;
     proxy_pass_header Authorization;
 }
@@ -571,6 +575,7 @@ below.

} }

Example Apache configuration:

+

See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/apache/

RewriteEngine On
 RewriteRule ^/radicale$ /radicale/ [R,L]
 
@@ -579,11 +584,8 @@ below.

ProxyPassReverse http://localhost:5232/ RequestHeader set X-Script-Name /radicale RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s" - RequestHeader unset X-Forwarded-Proto - <If "%{HTTPS} =~ /on/"> - RequestHeader set X-Forwarded-Proto "https" - </If> -</Location>
+ RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME} +</Location>

Example Apache .htaccess configuration:

DirectoryIndex disabled
 RewriteEngine On