Make radicale work behind Caddy

(Damien Cassou) #1

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?

(Lucas) #2

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.

(Damien Cassou) #3

Thank you very much for helping me. I made it work and created a PR: