Bendangelo Blog

Using Radicale with Gnome Calendar

Nov 27, 2023 1 minute read

After reading this post on getting Radicale working on Gnome CalDav and CardDav. I just wanted to make my own post to show how it’s done in nginx. Here is the code below:

location /radicale/ { # The trailing / is important!
  proxy_pass        http://radicale:5232/; # The / is important!
  proxy_set_header  X-Script-Name /radicale;
  proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header  X-Remote-User $remote_user;
  proxy_set_header  Host $http_host;
  proxy_pass_header Authorization;
}

rewrite ^/.well-known/carddav /radicale/ redirect;
rewrite ^/.well-known/caldav /radicale/ redirect;
rewrite ^/remote.php/webdav /radicale/ redirect;
rewrite ^/remote.php/caldav /radicale/caldav/ redirect;
rewrite ^/remote.php/carddav /radicale/carddav/ redirect;

Put this code into your nginx conf to get caldav and carddav working on gnome.

Comments

You can use your Fediverse (i.e., Mastodon, among many others) account to reply to this post.

Related Posts