37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# Radicale
|
|
|
|
I'm tired of being held hostage by Google to have a calendar and contacts list.
|
|
|
|
I've looked at options an decided to give it a shot at Radicale(https://radicale.org) as my selfhosted server and DAVx5 (https://www.davx5.com) as my android app.
|
|
|
|
## Installing server
|
|
|
|
I'll install the server on Frankie, redirect through Navaja.
|
|
|
|
* I'm following these instructions: https://radicale.org/v3.html#simple-5-minute-setup
|
|
-
|
|
|
|
I've crafted this nginx config:
|
|
|
|
```
|
|
server {
|
|
listen 80;
|
|
server_name radicale.contrapeso.xyz;
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name radicale.contrapeso.xyz;
|
|
ssl_certificate /certs/domain.cert.pem;
|
|
ssl_certificate_key /certs/private.key.pem;
|
|
ssl_trusted_certificate /certs/intermediate.cert.pem;
|
|
|
|
location / { # The trailing / is important!
|
|
proxy_pass http://100.76.214.54:5232/radicale/; # The / is important!
|
|
proxy_set_header X-Script-Name /radicale;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $http_host;
|
|
proxy_pass_header Authorization;
|
|
}
|
|
```
|