diff --git a/master.html b/master.html index c031da33..9079b218 100644 --- a/master.html +++ b/master.html @@ -577,14 +577,24 @@ Caddy:
ProxyPass http://localhost:5232/ retry=0 ProxyPassReverse http://localhost:5232/ RequestHeader set X-Script-Name /radicale -</Location> + RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s" + RequestHeader unset X-Forwarded-Proto + <If "%{HTTPS} =~ /on/"> + RequestHeader set X-Forwarded-Proto "https" + </If> +</Location>Example Apache .htaccess configuration:
disabled
DirectoryIndexRewriteEngine On
^(.*)$ http://localhost:5232/$1 [P,L]
RewriteRule
# Set to directory of .htaccess file:
- set X-Script-Name /radicale RequestHeader
Example lighttpd configuration:
server.modules += ( "mod_proxy" , "mod_setenv", "mod_rewrite" )