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
^/radicale$ /radicale/ [R,L]
RewriteRule
@@ -579,11 +584,8 @@ below.
http://localhost:5232/
ProxyPassReverse set X-Script-Name /radicale
RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s"
- RequestHeader unset X-Forwarded-Proto
- RequestHeader<If "%{HTTPS} =~ /on/">
- set X-Forwarded-Proto "https"
- RequestHeader</If>
- </Location>
Example Apache .htaccess configuration:
disabled
DirectoryIndexRewriteEngine On