diff --git a/contrib/apache/radicale.conf b/contrib/apache/radicale.conf index 98a25a72..102dc794 100644 --- a/contrib/apache/radicale.conf +++ b/contrib/apache/radicale.conf @@ -43,10 +43,7 @@ RequestHeader set X-Script-Name /radicale RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s" - RequestHeader unset X-Forwarded-Proto - - RequestHeader set X-Forwarded-Proto "https" - + RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME} ProxyPass http://localhost:5232/ retry=0 ProxyPassReverse http://localhost:5232/ @@ -172,7 +169,7 @@ CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" RequestHeader set X-Script-Name / RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s" - RequestHeader set X-Forwarded-Proto "https" + RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME} ProxyPass http://localhost:5232/ retry=0 ProxyPassReverse http://localhost:5232/