radicale.caddyfile 586 B

1234567891011121314151617181920212223242526
  1. ## example for a dedidcated FQDN and radicale is served on / there
  2. ## if you are serving on /radicale/ this needs to be prepended at the obvious places
  3. # taken from https://github.com/Kozea/Radicale/discussions/1753
  4. caldav.example.com {
  5. # Append / if GETting /.web
  6. @get-root {
  7. method GET
  8. path /.web
  9. }
  10. redir @get-root /.web/
  11. # Do not auth on /.web/*
  12. @not-webui {
  13. not path /.web/*
  14. }
  15. basic_auth @not-webui {
  16. USER HASH
  17. }
  18. reverse_proxy localhost:5232 {
  19. header_up X-Remote-User {http.auth.user.id}
  20. }
  21. }