mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-07 18:30:54 +00:00
Updated Reverse Proxy Diagnostics Troubleshooting (markdown)
parent
62a621d975
commit
8ef67ca0c4
1 changed files with 42 additions and 1 deletions
|
@ -192,4 +192,45 @@ ngrep -d lo port 5232
|
||||||
|
|
||||||
Required option to use user authentication of _radicale_: `WSGIPassAuthorization On`
|
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
|
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;
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue