1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-07 18:30:54 +00:00

Updated Reverse Proxy Diagnostics Troubleshooting (markdown)

Peter Bieringer 2024-11-14 19:26:01 +01:00
parent 62a621d975
commit 8ef67ca0c4

@ -193,3 +193,44 @@ 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
# 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
<If "%{HTTPS} =~ /on/">
RequestHeader set X-Forwarded-Proto "https"
</If>
```
## 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;
```