From 8ef67ca0c4d65209a5a3ac363e3c1fe130986795 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 14 Nov 2024 19:26:01 +0100 Subject: [PATCH] Updated Reverse Proxy Diagnostics Troubleshooting (markdown) --- Reverse-Proxy-Diagnostics-Troubleshooting.md | 43 +++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/Reverse-Proxy-Diagnostics-Troubleshooting.md b/Reverse-Proxy-Diagnostics-Troubleshooting.md index f56fe7f..bbdea1a 100644 --- a/Reverse-Proxy-Diagnostics-Troubleshooting.md +++ b/Reverse-Proxy-Diagnostics-Troubleshooting.md @@ -192,4 +192,45 @@ ngrep -d lo port 5232 Required option to use user authentication of _radicale_: `WSGIPassAuthorization On` -See also example configuration: https://github.com/Kozea/Radicale/blob/master/contrib/apache/radicale.conf \ No newline at end of file +See also example configuration: https://github.com/Kozea/Radicale/blob/master/contrib/apache/radicale.conf + +# MOVE not working + +## Test with + +``` +# MOVE +curl -u user:pass http://localhost//radicale/user/test3/test.ics --request MOVE -H "Destination: http://localhost/radicale/user/test2/test.ics" + +MOVE Back +curl -u user:pass http://localhost//radicale/user/test2/test.ics --request MOVE -H "Destination: http://localhost/radicale/user/test3/test.ics" +``` + +## General + +Check for headers passed to _Radicale_ +* X-Forwarded-Host +* X-Forwarded-Port +* X-Forwarded-Proto + +## Apache + +See also +* https://github.com/Kozea/Radicale/blob/master/contrib/apache/radicale.conf + +``` RequestHeader set X-Forwarded-Port "%{SERVER_PORT}s" + RequestHeader unset X-Forwarded-Proto + + RequestHeader set X-Forwarded-Proto "https" + +``` + + + +## nginx +* See also https://github.com/Kozea/Radicale/blob/master/contrib/nginx/radicale.conf + +``` + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Port $server_port; +``` \ No newline at end of file