Make radicale work behind Caddy

I have Radicale (caldav/cardav server) running on http://localhost:5232/. I would like to get it under instead and let port 5232 accessible only locally. I haven’t found any example for Caddy on the Radicale website, but there are examples for Apache and Nginx: I’m not sure what I should start with.

Could someone please help me get started?

The docs for the proxy settings are here:

Perhaps you could start with something like this? {
    proxy /radicale/ localhost:5232 {
        header_upstream X-Script-Name /radicale

I’m not going to read all of the documentation for Radicale or try to set it up and test it myself, but that should give you a good starting point at least.


Thank you very much for helping me. I made it work and created a PR: Add Radicale example by DamienCassou · Pull Request #115 · caddyserver/examples · GitHub.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.